<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shaw27</author_name>
  <author_url>https://blog.hatena.ne.jp/shaw27/</author_url>
  <blog_title>はてはてな</blog_title>
  <blog_url>https://shaw27.hatenadiary.org/</blog_url>
  <categories>
    <anon>JAVA</anon>
    <anon>読書</anon>
  </categories>
  <description>昨日からちょっと体調崩し気味です。頭の回転が鈍い･･･うー･･･ ○項目17 型を定義するためだけにインタフェースを使用する 定数インタフェースはやめましょう 何らかの定数を内部的にクラスが使用するということは実装の詳細である ユーザを困惑させる 将来的に必要なくなったときにもお荷物として残る →Javaプラットフォームライブラリーにはjava.io.ObjectStreamConstantsなどの定数インタフェースもいくつかあるが、例外であると捉えた方が良い。定数を提供するならユーティリティクラスで。 というわけで？インタフェースは型を定義する為だけに使いましょう、というお話。１ページ半で終…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshaw27.hatenadiary.org%2Fentry%2F20060727%2F1153953872&quot; title=&quot;Effective Java（項目17〜18） - はてはてな&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>2006-07-27 07:44:32</published>
  <title>Effective Java（項目17〜18）</title>
  <type>rich</type>
  <url>https://shaw27.hatenadiary.org/entry/20060727/1153953872</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
