3 ms·
The module story is pretty comparable and many things can be translated directly between OCaml's module system and Scala's. With the module being roughly equal
by justthistime_ 11y ago
The module story is pretty comparable and many things can be translated directly between OCaml's module system and Scala's.
With the module being roughly equal, and while objects suck in OCaml, but don't suck in Scala, I'm kind of surprised by your judgment.
- tel 11y agoThe module system is the object system fwiw. The things OCaml calls objects are just dynamic row-typed beasties which is why nobody recommends them (except to use as phantom parameters to get your own row typing).