<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thata</author_name>
  <author_url>https://blog.hatena.ne.jp/thata/</author_url>
  <blog_title>ちくわプログラマにっき</blog_title>
  <blog_url>https://thata.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>1クラス1サービス 小さくてシンプルなプログラムが最もメンテナンスしやすいもの。機能が複雑に絡み合ったプログラムは理解するのに時間がかかるし、メンテナンスもしづらいです。クラスをユーザ(クライアント)のためのサービス群の定義見なすことができる。ここでは publicメソッドがサービスとなります。∴ 各クラスに行うべき1つの仕事を与える。だからといってpublicメソッドを1個に制限しろと言っているわけではないよ。1つのサービスは複数のメソッドを必要とすることもあるから。たとえば、コンパイラーの内部で使われる「シンボル・テーブル」ではsetとgetの2メソッドを必要とするけど「情報のリポジトリ」…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthata.hatenadiary.org%2Fentry%2F20040520%2F1108090217&quot; title=&quot;One Service Per Class - ちくわプログラマにっき&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>2004-05-20 11:50:17</published>
  <title>One Service Per Class</title>
  <type>rich</type>
  <url>https://thata.hatenadiary.org/entry/20040520/1108090217</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
