<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s5r</author_name>
  <author_url>https://blog.hatena.ne.jp/s5r/</author_url>
  <blog_title>おともだちティータイム</blog_title>
  <blog_url>https://shunirr.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>他人の書いたコードがクソな場合は相当数ありますが、それでもフォーマットさえ整えば多少なりとも読みやすくなります。僕は最近まで世の中の整形ツールはインデントくらいしか直してくれないと思っていました。 しかし、 astyle というツールに適切なオプションを渡せば、とても読み易いフォーマットに整形されることを知ったのです。たとえば以下のようなゴミコードがあるとしましょう。 (処理に意味はありません) #include &lt;stdio.h&gt; int main(void){ int a,b; int * p; b= a=1;p=&amp;a; if(a==b) printf(&quot;hello!&quot;) ; else p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshunirr.hatenablog.jp%2Fentry%2F20120628%2F1340884145&quot; title=&quot;ゴミのようなコードを見たときに利用するべき astyle のススメ - おともだちティータイム&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>2012-06-28 20:49:05</published>
  <title>ゴミのようなコードを見たときに利用するべき astyle のススメ</title>
  <type>rich</type>
  <url>https://shunirr.hatenablog.jp/entry/20120628/1340884145</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
