<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>読書ノート</anon>
  </categories>
  <description>前回 リーダブルコード 8 巨大な式を分割する - by shigemk2プログラムの変数はすぐに増えるので、いずれ追跡できなくなる。 そのため、変数を減らして、できるだけ軽量にすること。そのためには、 邪魔な変数を排除する boolean done = false; while(条件) { if(...) { done = true; continue; } }わざわざこんなことして変数を定義する必要はなく、 breakとか使うことを考えるべし。 while(条件) { if(...) { break; } } 変数のスコープを出来るだけ小さくする グローバル変数はローカル変数との違いが判然…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120807%2F1344298846&quot; title=&quot;リーダブルコード 9 変数と読みやすさ - by shigemk2&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>2012-08-07 09:20:46</published>
  <title>リーダブルコード 9 変数と読みやすさ</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120807/1344298846</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
