<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>『ThoughtWorks アンソロジー』という参考書の第5章で、「オブジェクト指向エクササイズ」として紹介されている次の9つのルールです。 （『現場で役立つシステム設計の原則』 p301） ● 1行につきドットは1つまで 「else 句を使わない」と同じく、複文構造を単文に分解することを狙っ たルールです。 ドットを使って複数のメソッドを連ねた文は、意図がわかりにくくなり ます。また、同じ処理があちこちに重複して書かれる原因になりがちです。 ドットで連結した長く続いた式の、一部だけをほかの場所で再利用できな いからです。 このルールを実践する方法は、ドットの 1 つごとに説明用の変数に代 入…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F2020%2F02%2F02%2F221035&quot; title=&quot;「現場で役立つシステム設計の原則」の「1行につきドットは1つまで」の説明について - memo486&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>2020-02-02 22:10:35</published>
  <title>「現場で役立つシステム設計の原則」の「1行につきドットは1つまで」の説明について</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/2020/02/02/221035</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
