<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t_tutiya</author_name>
  <author_url>https://blog.hatena.ne.jp/t_tutiya/</author_url>
  <blog_title>土屋つかさの技術ブログは今か無しか</blog_title>
  <blog_url>https://someiyoshino.info/</blog_url>
  <categories>
  </categories>
  <description>前回書いた「「正しく書かれたソースコードにコメントは必要ない」なんて幻想だという話（ http://d.hatena.ne.jp/t_tutiya/20170519/1495197904 ）」は土屋のブログ記事にしては珍しくはてブやコメント、twitterで反響を幾つか頂きました。その中の幾つかを紹介します。分かっているとは思うけど、サンプルコードはJavaScriptを意識してますがてきとーです。 案１：マジックナンバーを定数化する MAX_OPAQUE = 1.0f //定数宣言のつもり if (alpha &lt; MAX_OPAQUE){ //処理Ａ } &quot;1.0f&quot;に意図を設定すればコメン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsomeiyoshino.info%2Fentry%2F20170520%2F1495244763&quot; title=&quot;「正しく書かれたソースコードにコメントは必要ない」なんて幻想だという話（補足編） - 土屋つかさの技術ブログは今か無しか&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>2017-05-20 10:46:03</published>
  <title>「正しく書かれたソースコードにコメントは必要ない」なんて幻想だという話（補足編）</title>
  <type>rich</type>
  <url>https://someiyoshino.info/entry/20170520/1495244763</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
