Quora Feeds
Active Member
Joël Schaerer
OOP is an immense success. It is a major part of most successful real-world programming languages.
Object-Oriented religion, on the other hand, is an incredible failure that cost, and still costs, billions in failed projects and unreadable code.
The difference is subtle: OOP, when used correctly, is only one tool among others: functional programming, imperative programming, etc. Multi-paradigm languages such as Python, C++ or Go are good examples of this.
Object-oriented religion, on the other hand, is a kind of cargo-cult programming: I've heard that objects are great, let's make everything an object! Let's force people to make everything a class, even when it doesn't match! We all know the result: the infamous AbstractSingletonGenericFactoryAdaptorFramework.
See Questions On Quora
Continue reading...
OOP is an immense success. It is a major part of most successful real-world programming languages.
Object-Oriented religion, on the other hand, is an incredible failure that cost, and still costs, billions in failed projects and unreadable code.
The difference is subtle: OOP, when used correctly, is only one tool among others: functional programming, imperative programming, etc. Multi-paradigm languages such as Python, C++ or Go are good examples of this.
Object-oriented religion, on the other hand, is a kind of cargo-cult programming: I've heard that objects are great, let's make everything an object! Let's force people to make everything a class, even when it doesn't match! We all know the result: the infamous AbstractSingletonGenericFactoryAdaptorFramework.
See Questions On Quora
Continue reading...