<story><title>What I Wish I Knew When Learning Haskell</title><url>http://dev.stephendiehl.com/hask/</url></story><parent_chain></parent_chain><comment><author>skimpycompiler</author><text>What I still do not know and always wished to know when I learned Haskell was how to write efficient code easily. I wrote huge projects with thousands of lines knowing nothing about C++ execution model and had insanely fast code (that could have been made even faster - but I was not that kind of expert) but with Haskell I have to be an expert to really write code that is as performant as something that would take me much less time to write in C&amp;#x2F;C++.&lt;p&gt;Just writing simple efficient matrix multiplication is a pain.  It took me a couple of days to write a working quicksort.&lt;p&gt;I couldn&amp;#x27;t find any resources that provide a very serious introduction to optimizing Haskell code.&lt;p&gt;I found out way too late in my adventures with Haskell that Monad Transformers and similar abstractions have a significant runtime overhead and aren&amp;#x27;t free, I thought I was just playing with types that won&amp;#x27;t get in the way when the code compiles.&lt;p&gt;No one seems to cover this aspect of Haskell.</text></comment>
<story><title>What I Wish I Knew When Learning Haskell</title><url>http://dev.stephendiehl.com/hask/</url></story><parent_chain></parent_chain><comment><author>greenyoda</author><text>Readers may be interested in the extensive comments from when this article was posted in previous years:&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;new-hn.algolia.com&amp;#x2F;?experimental&amp;amp;sort=byDate&amp;amp;prefix&amp;amp;page=0&amp;amp;dateRange=all&amp;amp;type=story&amp;amp;query=What%20I%20Wish%20I%20Knew%20When%20Learning%20Haskell&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;new-hn.algolia.com&amp;#x2F;?experimental&amp;amp;sort=byDate&amp;amp;prefix&amp;amp;...&lt;/a&gt;</text></comment>