4 ms·
That’s exactly what I mean. They find no need for modules when you have classical inheritance.
by zeckalpha 9y ago
That’s exactly what I mean. They find no need for modules when you have classical inheritance.
- ihm 9y agoUsing the object system in OCaml is super rare in my experience and using modules to structure code is way more common. They are also two somewhat orthogonal features of the type system: objects don't contain types, they are just values.
- zeckalpha 9y agoYikes, the OCaml I worked on must be pretty unusual then.
- jon_smark 9y agoQuite on the contrary: The OO part of OCaml is hardly used at all in the wild!