<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lethevert</author_name>
  <author_url>https://blog.hatena.ne.jp/lethevert/</author_url>
  <blog_title>lethevert is a programmer</blog_title>
  <blog_url>https://lethevert.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>[id:lethevert:20050829:p3] DelphiのGUIライブラリは、継承の使い方が最悪だ。あんなのばかり見ていると、プログラミングセンスがおかしくなる。 GUIライブラリでも、インターフェースを上手く使うことで、より使いやすいライブラリのデザインにすることができる。 たとえば、木構造のデータを表現するGUIコンポーネントなら、こんな感じに書くのがよい。 interface Node { Node getChild(); Node next(); Node getParent(); String getLabel(); } class TreeView { Node root…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flethevert.hatenadiary.org%2Fentry%2F20050829%2Fp5&quot; title=&quot;GUIコンポーネントと継承 - lethevert is a programmer&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>2005-08-29 00:00:04</published>
  <title>GUIコンポーネントと継承</title>
  <type>rich</type>
  <url>https://lethevert.hatenadiary.org/entry/20050829/p5</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
