<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>daisuke-m</author_name>
  <author_url>https://blog.hatena.ne.jp/daisuke-m/</author_url>
  <blog_title>都元ダイスケ IT-PRESS</blog_title>
  <blog_url>https://daisuke-m.hatenablog.com/</blog_url>
  <categories>
    <anon>オブジェクト指向</anon>
  </categories>
  <description>id:happy_ryoに「わかんねーんだよ、説明してみろゴルァ」されたので、書いてみる。 前書き*1 とりあえず、本日のエントリのキモを最初に。「オブジェクト指向は、隠す技術である」（俺談ｗ）ということを意識して読んで見てください。隠すとは何か？ 公開しすぎない事。分かりやすく言えば、publicをprivateに変える事。これが「隠す」。んじゃあ、隠すと何が良いのか。あるクラスから、見えるもの（＝操作できる可能性の範囲(scope)）が狭ければ狭いほど出来る事のバリエーションが減るから、プログラムは単純になる。つまり、隠すと複雑性(complexity)が下がる*2。要件を満たした上で、い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaisuke-m.hatenablog.com%2Fentry%2F20090519%2F1242738424&quot; title=&quot;継承とコンポジット - 都元ダイスケ IT-PRESS&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>2009-05-19 22:07:04</published>
  <title>継承とコンポジット</title>
  <type>rich</type>
  <url>https://daisuke-m.hatenablog.com/entry/20090519/1242738424</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
