TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What is bad about Haskell?

4 点作者 litzer大约 10 年前
There's a post almost every other day on the front page praising Haskell. I've currently been learning it myself for a few months now, and was just wondering what do people (who are proficient at it) not like about it?

4 条评论

dudul大约 10 年前
I don&#x27;t have a lot of experience with it myself, but I don&#x27;t like the package&#x2F;dependency management. I&#x27;m used to the JVM way where you bundle your third party libraries per project as opposed to installing them on your system.<p>Other than that, there is really not much that I don&#x27;t like. I think it&#x27;s one of the best languages I&#x27;ve tried and I wish it was more widely used in the industry.
评论 #9435087 未加载
评论 #9453607 未加载
Nadya大约 10 年前
It has a pretty high learning curve. Not entirely fault of Haskell, but more that people find functional programming to be difficult, to say the least.<p>Then there is the &quot;Chicken &amp; Egg problem&quot; behind libraries and adoption rate.<p><pre><code> 1. High Learning Curve = Lower adoption rate 2. Low adoption rate = Less people making libraries 3. Less Libraries = Less People want to use Haskell - Goto 2</code></pre>
评论 #9434674 未加载
评论 #9434705 未加载
dllthomas大约 10 年前
Nitpick, but ran into this again today: I wish &quot;Ord k =&gt; Monoid (Map k v)&quot; was &quot;(Ord k, Semigroup v) =&gt; Monoid (Map k v)&quot;, and would combine values (on key collision) using whatever semigroup instance was available for v rather than an implicit Last.
dllthomas大约 10 年前
I don&#x27;t like the Prelude. It has a lot of cruft - partial functions, weird names for things. At some point that needs a rewrite, but I don&#x27;t think the community is sure how we get there from here (at least I&#x27;m certainly not).
评论 #9453670 未加载
评论 #9438060 未加载