Switching to OCaml bois

https://lemmy.world/post/15992809

Switching to OCaml bois - Lemmy.World

you can write oop without inhetitance
That’s just structs and unions right?
You will still have private/public sections, interfaces (unless you class them as inheritance), classes and instances, the SOLID principles, composition over inheritance. OOP is a lot more than just large family trees of inheritance, a way of thinking that’s been moved away from for a long time.