Re:Goodbye, shitty Car extends Vehicle object-orientation tu...
by colllectorof on Sunday October 20, 2019 @05:35PM
(#21307316)
OCaml has real objects and classes. Moreover, it is trivial to demonstrate that your example doesn't work in practice:
Bar.second () will still be 2 because of static binding. Thus you cannot use this approach to replace 'first' by itself without creating inconsistencies.
[ Parent
| on HN ]
There are no comments on this comment yet.