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.

I learned Haskell in just 15 years

307 pointsby aranchelk11 months ago

13 comments

munchler11 months ago
Cute. All kidding aside, though, functional programming is worth the effort to learn, and it doesn&#x27;t actually take 15 years. The payoff is at the end of the article:<p>&quot;It’s quite natural to program in Haskell by building a declarative model of your domain data, writing pure functions over that data, and interacting with the real world at the program’s boundaries. That’s my favorite way to work, Haskell or not.&quot;<p>Haskell can be intimidating, though, so I would recommend F# for most beginners. It supports OOP and doesn&#x27;t require every single function to be pure, so the learning curve is less intense, but you end up absorbing the same lesson as above.
评论 #40702547 未加载
评论 #40705447 未加载
评论 #40702850 未加载
评论 #40710786 未加载
评论 #40702887 未加载
评论 #40703076 未加载
评论 #40702586 未加载
评论 #40707065 未加载
评论 #40703888 未加载
评论 #40707638 未加载
评论 #40703246 未加载
评论 #40702624 未加载
评论 #40706640 未加载
usgroup11 months ago
In my opinion, if you are after the mystical experience of understanding functional programming, you&#x27;re better off learning Prolog. I think it has more to offer in terms of insight, because wrapping your head around the language only takes a couple days, but wrapping your head around its consequences is a gift which keeps on giving for quite some time.<p>Immutable functional programming is basically what 80% of your Prolog code will look like. The benefit is that you&#x27;ll be able to understand how everything works from end-to-end.
评论 #40705778 未加载
leononame11 months ago
Great read! Can anyone here recommend a good resource for learning Haskell that&#x27;s in the style of &quot;Text-Mode Games as First Haskell Projects&quot;? Haskell has been on my radar since forever, and I&#x27;ve got some FP concepts internalized by making a side project in F#, but I have no idea what a monad really is and a fun prohect to code along might be perfect.
评论 #40702776 未加载
评论 #40702852 未加载
评论 #40707020 未加载
评论 #40702790 未加载
评论 #40704358 未加载
评论 #40704659 未加载
评论 #40704636 未加载
评论 #40703102 未加载
neonate11 months ago
<a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240617035104&#x2F;https:&#x2F;&#x2F;duckrabbit.tech&#x2F;articles&#x2F;learning-haskell.html" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240617035104&#x2F;https:&#x2F;&#x2F;duckrabbi...</a>
stoorafa11 months ago
Had a lot of fun reading this. I’d love to see some of the author’s code to get a sense what the journey produced, if that’s even possible
评论 #40707069 未加载
iNic11 months ago
<a href="https:&#x2F;&#x2F;archive.ph&#x2F;gqOsY" rel="nofollow">https:&#x2F;&#x2F;archive.ph&#x2F;gqOsY</a>
TrackerFF11 months ago
What&#x27;s the benefit of learning a PURE functional programming language, opposed to just using a language which has adapted the best bits and pieces from the functional programming paradigm?<p>Given that you want write code that sees &quot;real world&quot; use, and is used to handle data and events from the real world. To me, sometimes the line between optimized code and intellectual curiosity blurs.
评论 #40702875 未加载
评论 #40702876 未加载
评论 #40702749 未加载
评论 #40702878 未加载
评论 #40706527 未加载
评论 #40708690 未加载
评论 #40704140 未加载
评论 #40702979 未加载
评论 #40703893 未加载
评论 #40707279 未加载
评论 #40709612 未加载
drwu11 months ago
When Haskell was a hot topic around two decades ago, ML was also quite often discussed. Today ML almost only means machine learning
评论 #40704893 未加载
评论 #40705819 未加载
LittleOtter11 months ago
&quot;What fascinated me about Haskell when I was still a teenager? Who knows. I had been coding with increasing enthusiasm since I was 10 or 11 but I was no wunderkind. I certainly hadn’t attained anything like the skill or, more importantly, taste I had after just a few years in the working world. What I like about it today is that it’s quite natural to program in Haskell by building a declarative model of your domain data, writing pure functions over that data, and interacting with the real world at the program’s boundaries. That’s my favorite way to work, Haskell or not.&quot;<p>I adore these sentences.:)When I read it,it feels like I met myself.
Loxicon11 months ago
&quot;It’s quite natural to program in Haskell by building a declarative model of your domain data, writing pure functions over that data, and interacting with the real world at the program’s boundaries. That’s my favorite way to work, Haskell or not.&quot;<p>Are there any good resources you can share to learn this specific way of programming?
评论 #40741122 未加载
revskill11 months ago
Yes, it&#x27;s better to spend 15 years to learn Haskell than keep creating messy imperative programs without knowing how to improve.
lonk11 months ago
Just &quot;15 years&quot; or Nothing
评论 #40709553 未加载
tomcam11 months ago
Sure, lord it over the rest of us peons. We can’t all be overachievers, you know.