3 ms·
If Haskell is the C++ of functional languages, what, in your opinion, is the C of functional languages ?
by Typhon 13y ago
If Haskell is the C++ of functional languages, what, in your opinion, is the C of functional languages ?
- scott_s 13y agoScheme.
- raverbashing 13y agoI want the Python of functional languages
- danieldk 13y agoExcept that Scala already is ;). Haskell pretty much sticks to functional programming and resisted adopting other paradigms (e.g. OO via O'Haskell). Scala, on the other hand seems to adopt as many paradigms as C++.
- michaelochurch 13y agoThe C of statically typed functional languages is OCaml.
- asdasf 13y agoWhich is more complicated and less expressive than haskell? That seems like a pretty bizarre choice.
- michaelochurch 13y agoWhen I used OCaml, I almost never used the object system. I didn't need it. The "full" OCaml is pretty complicated, but most of the libraries don't force the "O" on you. (That said, if you're going to use OCaml, you should use the Jane Street libraries, which are far better than the standard library.)
- asdasf 13y ago>When I used OCaml, I almost never used the object system. I didn't need it. Me neither, but it is still part of the language and adds a ton of complexity. Which makes the analogy of ocaml to C vs haskell to C++ quite poor. >The "full" OCaml is pretty complicated Precisely the point. The full C++ is pretty complicated too. The full haskell is far simpler than either. >That said, if you're going to use OCaml, you should use the Jane Street libraries They didn't exist when I used ocaml, and I would never go back to ocaml now.
- infruset 13y agoWhat do you mean, less expressive?