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

But Classes and Objects are not the only way to create boundaries, and may not be the best way.



Give an example of when they might not be the best way.


There are many well known problems with classic OOP:

http://okmij.org/ftp/Computation/Subtyping/


"Classes are the best way" is a much stronger statement than "Classes may not be the best way".

Why do you think classes are the best way?




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: