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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Which functional programming language to get started with

1 点作者 v512超过 10 年前
Like to learn any functional programming language but having hard time choosing one, Looking for a language which is easier to grasp the fundamentals of functional programming.

2 条评论

smt88超过 10 年前
I actually think that, compared to OOP, FP has a lot more theory and the language matters less because the language constructs are simpler. I could see someone saying &quot;don&#x27;t learn OOP by writing JavaScript&quot;, but for FP, there are many languages that&#x27;ll work for you.<p>Scala is probably a great target language, but I haven&#x27;t seen tutorials for Scala for beginners. It&#x27;s a (relatively) complicated language, and its adoption seems to be concentrated among people who are already experienced developers.<p>All that said, I&#x27;d suggest Haskell. It&#x27;s purely functional, and it actually forces certain functional practices (e.g. immutable identifiers).<p>I can&#x27;t honestly tell you a good place to start because I don&#x27;t know how much formal CS education you have, but see if this is your speed: <a href="http://learnyouahaskell.com" rel="nofollow">http:&#x2F;&#x2F;learnyouahaskell.com</a><p>There&#x27;s also Real World Haskell, a tree book that is now a free e-book: <a href="http://book.realworldhaskell.org/read/" rel="nofollow">http:&#x2F;&#x2F;book.realworldhaskell.org&#x2F;read&#x2F;</a> (please excuse my rhymes).
darthVapor超过 10 年前
I would say Scala if you have any background in java. Scala isn&#x27;t strict so if you&#x27;re working on a time sensitive project you can still use OO to get the job done in time. Other than that Common Lisp might be a good starting point.