Hacker News new | past | comments | ask | show | jobs | submit login

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.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: