<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Nagise</author_name>
  <author_url>https://blog.hatena.ne.jp/Nagise/</author_url>
  <blog_title>プログラマーの脳みそ</blog_title>
  <blog_url>https://nagise.hatenablog.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Generics</anon>
  </categories>
  <description>先日twitterで &quot;Expression Problem&quot; という問題を知った。 静的な型付けの下で、場合分けのデータ構造に対して、新しい場合分けとその場合に対する新しい処理を、元のソースコードに手を加えることなく拡張定義すること 2009-05-16 この問題が意図するところを語るにはまずオブジェクト指向から流れを辿らねばなるまい。 オブジェクト指向のポリモーフィズム Javaのようなオブジェクト指向の言語で、ある特定のメソッドがあることを抽象クラスHogeで保証するとしよう。 public interface Hoge { void hoge(); } このとき、機能性、つまりメソッド…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnagise.hatenablog.jp%2Fentry%2F20120426%2F1335451716&quot; title=&quot; ジェネリクスによるVisitorパターン拡張の考察 - プログラマーの脳みそ&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>2012-04-26 23:48:36</published>
  <title> ジェネリクスによるVisitorパターン拡張の考察</title>
  <type>rich</type>
  <url>https://nagise.hatenablog.jp/entry/20120426/1335451716</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
