<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>panda_noir</author_name>
  <author_url>https://blog.hatena.ne.jp/panda_noir/</author_url>
  <blog_title>Panda Noir</blog_title>
  <blog_url>https://www.pandanoir.info/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>基本的に人間はFの字で文を読もうとします。そのため、重要情報は縦で揃えると読みやすくなります。 最悪な点: if文を無視して読むことが出来ない Goでは以下のような構文が頻出します。 if err := hoge(); err != nil { } 次の問題をこの構文は抱えています。 if文なのに条件式のところが処理になってしまっている err != nilとerr == nilで意味が真逆になってしまうので、最後まで読まなければ意図がつかめない 通常、if文は飛ばしならが読むことが出来ます。なぜなら、リーダブルにコードを書くと、if文は「ある特定のパターンのときのみ処理する」ように書けるから…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pandanoir.info%2Fentry%2F2019%2F02%2F20%2F130846&quot; title=&quot;Goのコードは読みにくい - Panda Noir&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>2019-02-20 13:08:46</published>
  <title>Goのコードは読みにくい</title>
  <type>rich</type>
  <url>https://www.pandanoir.info/entry/2019/02/20/130846</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
