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

I can hear the die-hards screaming already about encapsulation, inheritance and polymorphism.

Any die-hards screaming about all 3 of those should be viewed with a bit of skepticism. When I talked about this a lot, folks were "meh" about inheritance, especially class-based inheritance. The only thing I see as being worthy of die-hard adherence is polymorphism. Encapsulation is there to help enable polymorphism. I'll note that the degree of encapsulation varies amongst systems that call themselves OO.




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

Search: