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.

OCaml for the Masses

55 pointsby mbowcockover 13 years ago

5 comments

Homunculiheadedover 13 years ago
"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 未加载
rauljaraover 13 years ago
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 未加载
mbowcockover 13 years ago
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 未加载
iskanderover 13 years ago
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 未加载
postfuturistover 13 years ago
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>