3 ms·
I learned SML/NJ and OCaml around the same time and for some reason I found SML more pleasant. I particularly liked the SML "Basis" library, it felt really well
by cmrdporcupine 4y ago
I learned SML/NJ and OCaml around the same time and for some reason I found SML more pleasant. I particularly liked the SML "Basis" library, it felt really well designed to me.
Still, I'd pick either over Scala. Superior compilation times, cleaner syntax, less complex. Haskell also just feels excessively clever.
I had hoped Rust would be "OCaml but for systems programming" and it sort of is, -- but the borrow checker and memory safety features, as neat as they are, add a lot of mental overhead.
- frou_dh 4y agoSML definitely has a more tastefully designed syntax also, and not only because it's a smaller grammar. OCaml syntax is the "scuffed" version of SML syntax, as the kids say! Unfortunately to be a real-world SML user these days is a very isolating proposition, because although there are some really nice implementations (MLton, PolyML), to a first approximation there are zero libraries.
- xvilka 4y agoSML is the dead end because specification wasn't updated for decades.
- hedora 4y agoFor me, the borrow checked removes a lot of mental overhead. It finds all sorts of subtle concurrency bugs in my code.
- 3836293648 4y agoDepends on your starting point. More overhead than GC, most of the time, so much less than C/C++