Journal Tet's Journal: On coding 8
Object orientation and code readability are mostly mutually exclusive.
The only possible interpretation of any research whatever in the `social sciences' is: some do, some don't. -- Ernest Rutherford
Legos (Score:1)
Mod this up. (Score:2)
Re: (Score:2)
Whoa there (even if it IS Troll Tuesday) - I never EVER in my life said, or believed, that "every program must be OOP" :-p
OOP is the opposite of the "silver bullet". By letting you cover up some complexity, all you do is kick the can down the road - programs that are simple can be made conceptually simpler with OOP - programs that are past a certain point of complexity will will (de)generate into more complexity with OOP.
So in the end. the trade-off just isn't worth it.
Re: (Score:2)
... again, mis-characterizing what I wrote. I have never chosen "to blindly apply OOP to every problem". To the contrary, if I could, I'd spend my days writing assembler - there's simply nothing cleaner and more flexible on the planet, and it's a lot easier to recognize when you're about to shoot yourself in the foot, whereas part of the attraction of OOP is that we like to build things, and we get enamored to the act of building complexity, rather than reducing it. THIS is what is wrong with OOP.
But
Re: (Score:2)
Come on, there's still a few hours left in Tuesday - you can do better.