TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Haskell: Syntactic Heroin

1 pointsby infixedover 1 year ago

2 comments

notcoolatallover 1 year ago
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 未加载
raunakchhatwalover 1 year ago
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.