<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naoya2k</author_name>
  <author_url>https://blog.hatena.ne.jp/naoya2k/</author_url>
  <blog_title>naoya2kの日記</blog_title>
  <blog_url>https://naoya2k.hatenablog.com/</blog_url>
  <categories>
    <anon>misc</anon>
  </categories>
  <description>いま放り込まれているプロジェクトに適用される設計基準は結構厳し目でなのだが、どうやって守っていいのか全然わからんという感じである。 過去から流用されたコードベースがごちゃごちゃっと入り交じっていて単純な品質保証も結構難しそうなんである。コーディング規約とかテストカバレッジが厳しいところに適応してきたコードには奇妙なものも散在している。 たとえば /** * bar1, bar2, bar3 はすべて * ・引数がなにかの条件を満たしているかどうかの判定結果を返す関数 * ・副作用はない * * foo()は全部の条件を満たすかどうかを返す関数 */ BOOL foo(int a) { BOOL…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaoya2k.hatenablog.com%2Fentry%2F20141024%2Fp1&quot; title=&quot;テストカバレッジとか - naoya2kの日記&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>2014-10-24 00:00:00</published>
  <title>テストカバレッジとか</title>
  <type>rich</type>
  <url>https://naoya2k.hatenablog.com/entry/20141024/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
