News for hackers. Stuff that matters.
Re:OCaml for the Skeptical: OCaml in a Nutshell (2006) by andrepd on Sunday August 02, 2020 @08:40PM (#24033040)
>full of inconsistencies and bolted-on features that are practically useful but definitely not simple or elegantly designed

Care to elaborate? What are you referring to?

Re:OCaml for the Skeptical: OCaml in a Nutshell (2006) by millimeterman on Monday August 03, 2020 @10:25PM (#24045896)
Just some examples:

- First-class modules don't feel very first class, with how clunky it is to use modules at the value level

- Records are very clunky and hacky to use

- Generative functors are a hack

- Special language-level equality magic is awful (although SML also has this problem)

- Special `let` forms (whether via ppx or integrated into the language) feel really hacky

- GADTs require too much handholding of the typechecker

- All the "Objective" parts have very few redeeming qualities and should probably never have existed

- The way infix operators work is really half-assed

I don't think OCaml is a _bad_ language - it's very practically useful. It's just not simple or elegant.

Re:OCaml for the Skeptical: OCaml in a Nutshell (2006) by ernst_klim on Wednesday August 05, 2020 @07:04AM (#24059381)
Words like "clunky" and "hacky" are evaluation judgments, not objective criticism.