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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Haskell: Syntactic Heroin

1 点作者 infixed超过 1 年前

2 条评论

notcoolatall超过 1 年前
I&#x27;m not even going to read this because you put the name of a lethal addictive drug in the title.<p>More than a poor metaphor, that&#x27;s insensitive to people who are getting clean and have to deal with people who haven&#x27;t decided to change yet.<p>That&#x27;s a s****y drug, and that language is not.<p>&quot;Narcotic painkillers prolong pain in rats, says CU-Boulder study&quot; (2016) <a href="https:&#x2F;&#x2F;www.colorado.edu&#x2F;today&#x2F;2016&#x2F;05&#x2F;31&#x2F;narcotic-painkillers-prolong-pain-rats-says-cu-boulder-study" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.colorado.edu&#x2F;today&#x2F;2016&#x2F;05&#x2F;31&#x2F;narcotic-painkille...</a>
评论 #37758947 未加载
raunakchhatwal超过 1 年前
IMO I would always rather have syntactic sugar in Haskell, since parse errors are usually not the kind of bugs that one keeps making. If I encounter a parse error, I would probably not write code that leads to the same parse error ever again since there are so few of them I&#x27;ve encountered that I need to keep in mind to avoid.<p>I remember thinking figuring out the indentation of a where clause was almost impossible in Haskell since I constantly was getting it wrong at first, but now I almost never make a mistake using the where keyword.