<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higepon</author_name>
  <author_url>https://blog.hatena.ne.jp/higepon/</author_url>
  <blog_title>higepon blog</blog_title>
  <blog_url>https://higepon.hatenablog.com/</blog_url>
  <categories>
    <anon>study</anon>
    <anon>WEwLC</anon>
  </categories>
  <description>Working Effectively With Legacy Codeの 25章 Dependency-Breaking Techniques からテクニック3つ。 マインドマップから再構成したまとめ 3.Definition Completion 問題 テスト時に特定のメソッドだけ振る舞いを変えたい 前提 C/C++ のように実装と宣言でファイルが分かれていること 方法 テスト用の実装を書きバイナリを分ける 欠点 いろいろダブルメンテになる 4.Encapsulate Global References 問題 グローバル変数があると Break Dependencies が難しい 方法 グ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20081102%2F1225626414&quot; title=&quot;25. Dependency-Breaking Techniques - Definition Completion, Encapsulate Global References and Expose Static Method - WORKING EFFECTIVELY WITH LEGACY CODE (WEwLC) - higepon blog&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://ecx.images-amazon.com/images/I/51RCXGPXQ8L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-11-02 20:46:54</published>
  <title>25. Dependency-Breaking Techniques - Definition Completion, Encapsulate Global References and Expose Static Method - WORKING EFFECTIVELY WITH LEGACY CODE (WEwLC)</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20081102/1225626414</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
