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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

OCaml for the Masses

55 点作者 mbowcock超过 13 年前

5 条评论

Homunculiheaded超过 13 年前
"Yet functional languages never really made it to the mainstream"<p>JavaScript development these days is getting pretty darn close to what I would consider 'mainstream' functional programming.<p>Heavy use of both first class and lambda functions, and closures have been standard practices for years now. And thanks to libraries like Underscore.js partial application and the use higher order functions like map/filter/etc are also becoming very common place.<p>I'll absolutely agree that what we see is not 'pure' functional programming but neither is a good deal of real world Common Lisp.<p>Anyone who has done a lot of programming in Lisp or Haskell has probably bemoaned the fact that many people are quick to dismiss so many great and useful tools these langauges provide. But I definitely think we're starting to see a trend where the most genuinely useful features of fp are becoming mainstream.
评论 #3482757 未加载
rauljara超过 13 年前
To someone who has only just looked at Haskell (and not gotten very far) the syntax looks very similar. Can anyone speak to the differences between the two languages?
评论 #3481987 未加载
评论 #3482179 未加载
评论 #3482158 未加载
评论 #3482636 未加载
评论 #3482565 未加载
评论 #3482665 未加载
mbowcock超过 13 年前
Seems like financial/quant computing would be a natural fit. The author mentions ocaml being well suited for general programming needs - Anyone using ocaml (or haskell/f#/etc.) for real production code?<p>Edit: should have mentioned this earlier for an example - xmonad is written in haskell
评论 #3481991 未加载
评论 #3482774 未加载
评论 #3482694 未加载
评论 #3482329 未加载
评论 #3487280 未加载
iskander超过 13 年前
For anyone who wants to try out the language, here's an OCaml tutorial with an in-browser interpreter: <a href="http://try.ocamlpro.com/" rel="nofollow">http://try.ocamlpro.com/</a>
评论 #3481993 未加载
postfuturist超过 13 年前
seems down, google cache : <a href="http://webcache.googleusercontent.com/search?q=cache:7Ikgs4EiZ4UJ:queue.acm.org/detail.cfm%3Fid%3D2038036+&#38;cd=1&#38;hl=en&#38;ct=clnk&#38;gl=us" rel="nofollow">http://webcache.googleusercontent.com/search?q=cache:7Ikgs4E...</a>