Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Which is more complicated and less expressive than haskell? That seems like a pretty bizarre choice.


What do you mean, less expressive?


When 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.)


>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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: