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

I think OO has so many fierce defenders, due to the simplicity of the concept, allowing even the mediocre to paint a system by the photograph of reality as it is imagined to be.

In this Object Orientated Fairy world even the Programmer has a place- he usually becomes the "Controller" Object - passing messages and half finnished objects between components.

Everyone can do this, everyone can relatively fast read into this. And this is why object orientation persists. It has no value beyond that.

Inheritance is one of those concepts, people went overboard with in the 90s, generating matroschka objects- that only the compiler could read and whos methods without a IDE where unguessable.

Since then- we put it into the history box, and replaced it with composition, which is inheritance in all but syntax and creation call hierarchy.

The attack on the holy mountain of OO is thus doomed to be unsuccesfull, because those who are besieged up there can not come down here- because they allready struggle with "normal" code and are happy to code down reality as seen by some "architect".

Efficiency or adequate abstraction, is not actually part of the discussion. Neither is speed. What it provides is accessability- and that it provides rather well. Its a crutch for human minds- and a good one at that.




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

Search: