Hacker News new | ask | show | jobs
by weberc2 2923 days ago
I’ve seen this in ocaml and always thought it strange. I think it’s useful, but binding it to a package seems odd since packages are units of code distribution or some such.
2 comments

It is not strange if you think of objects in OOP as modules/packages you can inherit from.
Think of it as a package macro.