<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>ilessr (Norman Zhou)</title>
    <link>https://ruby-china.org/ilessr</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>你以为加了静态类型就能写出更好的代码?</title>
      <description>&lt;p&gt;就像 Matz 说的，现在处于静态类型的 hype 期。就连动态语言比如 PHP, Python, Javascript(TS) 都弄出了所谓静态检查。认为只有这样才能减少 bug.
今天看到篇文章对 Github 里面 repo 的各种语言 Bug 密度进行统计。结果发现并不是那么回事。静态类型被打脸。&lt;/p&gt;

&lt;p&gt;Round 1. Lang​​​​uages sorted by bug density. All repos &lt;/p&gt;

&lt;p&gt;&lt;img src="https://l.ruby-china.com/photo/2016/6e55311d80d39ba8266027394b0ae675.png!large" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;Round 2. Language​s​​ sorted by bug density. More than 10 stars repos&lt;/p&gt;

&lt;p&gt;&lt;img src="https://l.ruby-china.com/photo/2016/ca2a60d9dbc1bce866b72c28ea447d6e.png!large" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;Round 3. Languages sorte​d by bug density. More than 100 stars repos&lt;/p&gt;

&lt;p&gt;&lt;img src="https://l.ruby-china.com/photo/2016/5d8850b88856b055691a9ae982cf8626.png!large" title="" alt=""&gt;&lt;/p&gt;
&lt;h4 id="看点:"&gt;看点：&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Ruby 的 Bug 密度很小&lt;/li&gt;
&lt;li&gt;Erlang 的 Bug 密度也很小，跟 ruby 品味接近，怪不到吸引一批人去 Elixir.&lt;/li&gt;
&lt;li&gt;被某技术网红痛扁一通的 Go 和 Clojure 似乎挺好用&lt;/li&gt;
&lt;li&gt;作者忘了统计"最好的语言"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;原文链接：&lt;a href="https://labs.ig.com/static-typing-promise" rel="nofollow" target="_blank"&gt;https://labs.ig.com/static-typing-promise&lt;/a&gt;&lt;/p&gt;</description>
      <author>ilessr</author>
      <pubDate>Tue, 06 Dec 2016 20:36:19 +0800</pubDate>
      <link>https://ruby-china.org/topics/31816</link>
      <guid>https://ruby-china.org/topics/31816</guid>
    </item>
  </channel>
</rss>
