3 ms·
I've been looking into Haskell for web development—in particular, the snap framework. Did you consider using other functional languages before choosing OCaml, a
by kunalb 16y ago
I've been looking into Haskell for web development—in particular, the snap framework. Did you consider using other functional languages before choosing OCaml, as in does OCaml have any specific advantages for web dev?
- victorNicollet 16y agoI wish I could say the choice of OCaml among all available functional languages was objective, rational and well-deserved... the fundamental reason is that my knowledge of OCaml is orders of magnitude greater than my knowledge of Haskell, F# or Erlang (three languages I would have considered using as well). I do find OCaml more adapted to the way I think, but the way I think probably ended up the way it is because I have been using OCaml a lot. I can do a fairly adequate analysis of OCaml-versus-PHP or OCaml-versus-C# because I'm familiar with both sides of the equation, but I wouldn't be able to do an honest comparison of OCaml and Haskell.
- gtani 16y agothese ask reddit's are pretty good. Good Lang A vs B comp's are very rare. http://www.reddit.com/r/ocaml/comments/fmpl8/i_have_yet_to_learn_a_functional_programming/ http://www.reddit.com/r/ocaml/comments/fmpl8/i_have_yet_to_l... http://www.reddit.com/r/haskell/comments/fmp66/i_have_yet_to_learn_a_functional_programming/ http://www.reddit.com/r/haskell/comments/fmp66/i_have_yet_to... and this guy's universe of FP languages: http://www.slideshare.net/brweber2/functional-concepts-for-oop-developers-presentation http://www.slideshare.net/brweber2/functional-concepts-for-o... slide 12: haskell, clean, F#, ML/ocaml, lisp, scheme, scala, clojure, erlang, XSLT
- VMG 16y agoChosing one language over the other because you know it better is rational and well-deserved.