<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tachikawa844</author_name>
  <author_url>https://blog.hatena.ne.jp/tachikawa844/</author_url>
  <blog_title>tachikawa844の日記</blog_title>
  <blog_url>https://tachikawa844.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>デザインパターン</anon>
  </categories>
  <description>結城浩さんの「Java言語で学ぶデザインパターン入門」を題材にpythonでデザインパターンを 書いてみる。 今回はTemplate Methodパターン。 どんなものかというと、スーパークラスにテンプレートとなるメソッドが定義される。 ただその定義の中ではメソッドは実装されない。 メソッドを実装するのはサブクラスで、そこで具体的な処理が決まるというもの。 異なるサブクラスが異なる実装をすれば、異なる処理が行われけど、処理の大きな流れはスーパークラスで 決めたとおりになる。 このように、スーパークラスで処理の大きな枠組みを決めておいて、サブクラスでその具体的処理を決める デザインパターン。 サ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftachikawa844.hatenadiary.org%2Fentry%2F20081221%2F1229851743&quot; title=&quot;Template Methodパターン - tachikawa844の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-12-21 18:29:03</published>
  <title>Template Methodパターン</title>
  <type>rich</type>
  <url>https://tachikawa844.hatenadiary.org/entry/20081221/1229851743</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
