<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>llby</author_name>
  <author_url>https://blog.hatena.ne.jp/llby/</author_url>
  <blog_title>TextScript</blog_title>
  <blog_url>https://llby.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>今日は、前回の続きで関数の配置についてです。 前回は、関数は意味のある区切りにしましょう という話をしました。 関数が出来たら呼び出しを行いますが 呼び出しは、レイヤーを意識する必要があります。 例えば、AからBを呼び出して BからCを呼び出すと、 処理としては、A-&gt;B-&gt;Cという順序で行われますが この場合は、Bの呼び出しをやめると、同時にCも呼び出されなくなります。 これが、もし関数の目的が以下のような場合 A：朝起きる B：歯を磨く C：会社に行く 歯を磨くのを辞めたら、何故か会社にも行かなくなってしまいます。 今度は、もし以下のような場合 A：朝起きる B：歯を磨く C：右手を動かす…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fllby.hatenadiary.org%2Fentry%2F20120411%2F1334152781&quot; title=&quot;設計について（８）「関数のレイヤー」 - TextScript&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-04-11 22:59:41</published>
  <title>設計について（８）「関数のレイヤー」</title>
  <type>rich</type>
  <url>https://llby.hatenadiary.org/entry/20120411/1334152781</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
