<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tsucchi1022</author_name>
  <author_url>https://blog.hatena.ne.jp/tsucchi1022/</author_url>
  <blog_title>tsucchi’s diary(元はてなダイアリー)</blog_title>
  <blog_url>https://tsucchi.hatenadiary.com/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>コンピュータ</anon>
    <anon>ruby</anon>
  </categories>
  <description>「テスト駆動開発入門」を教材に、言語を Ruby にして TDD してみました。この本は何度か読んでいるので、ちょっと駆け足気味で。昨日、今日で Part.1 を完遂してみました。基本的な設計は元のコードそのままでやってみたのですが、Ruby らしさ(?)なのか、ちょっと違う部分が出ました。 Interface を使わずダック・タイピングになった 加算や乗算はメソッド(add(), times())ではなく、演算子オーバーロード(+, *) 通貨を文字列の変わりにシンボルを使って表現した 配列をハッシュのキーにできたので、そうした(Java だとできないので、from/to を束ねた Pair…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsucchi.hatenadiary.com%2Fentry%2F20081015%2F1224074926&quot; title=&quot;「テスト駆動開発入門」でTDD - tsucchi’s diary(元はてなダイアリー)&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>http://www.assoc-amazon.jp/e/ir?t=tsucchisblog-22&amp;l=as2&amp;o=9&amp;a=4894717115</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-10-15 21:48:46</published>
  <title>「テスト駆動開発入門」でTDD</title>
  <type>rich</type>
  <url>https://tsucchi.hatenadiary.com/entry/20081015/1224074926</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
