Friday, November 19, 2004

"Why OOP Reminds Me of Communism" - OOP criticism and OOP problems

Interesting reading for computer science students...and anyone else for that matter...

OOP Myths Debunked:
Myth: OOP is a proven general-purpose technique
Myth: OOP models the real world better
Myth: OOP makes programming more visual
Myth: OOP makes programming easier and faster
Myth: OOP eliminates the "complexity" of "case" or "switch" statements
Myth: OOP reduces the number of places that require changing
Myth: OOP increases reuse (recycling of code)
Myth: Most things fit nicely into hierarchical taxonomies
Myth: Sub-typing is a stable way to model differences
Myth: Self-handling nouns are more useful than self-handling verbs
Myth: Most operations have one natural "primary noun"
Myth: OOP does automatic garbage-collection better
Myth: Procedural cannot do components well
Myth: OO databases can better store large, multimedia data
Myth: OODBMS are overall faster than RDBMS
Myth: OOP better hides persistence mechanisms
Myth: C and Pascal are the best procedural can get
Myth: SQL is the best relational language
Myth: OOP would have prevented more Y2K problems
Myth: OOP "does patterns" better
Myth: Only OOP can "protect data"
Myth: Implementation changes significantly more often than interfaces
Myth: Procedural/Relational ties field types and sizes to the code more
Myth: Procedural cannot extend compiled portions very well
Myth: No procedural language can re-compile at the routine level
Myth: Procedural/Relational programs cannot "factor" as well
Myth: OOP models human thought better (Which human?)
Myth: OOP is more "modular"
Myth: OOP divides up work better
Myth: OOP "hides complexity" better
Myth: OOP better models spoken language
Myth: OOP is "better abstraction"
Myth: OOP reduces "coupling"
Myth: OOP does multi-tasking better
Myth: OOP scales better
Myth: OOP is more "event driven"
Myth: Most programmers prefer OOP
Myth: OOP manages behavior better


Fact: OO fans have repeatedly failed to demonstrate OO superiority. They can talk up a good storm, but cannot walk their talk.

http://www.geocities.com/tablizer/oopbad.htm