/
Inheritance - is a bad idea

Inheritance - is a bad idea

Object orientated programming was pushed heavily by the industry as being a way of solving a non problem of code reuse.

In practice inheritance is generally an awful way to arrange code.

The problem is that is hard to fully separate out concerns with inheritance. The problems an application needs to solve don’t clearly break down into well defined objects.

It’s notable that newer languages like GO which was developed by Google don’t even support the constructs required for object oriented programming.

Related content

Typescript is a bad idea
Typescript is a bad idea
Read with this
Separation of Concerns - Object Oriented Programming
Separation of Concerns - Object Oriented Programming
More like this
Three Keys to Interface Development
Three Keys to Interface Development
More like this
What are classes and methods in C++?
What are classes and methods in C++?
More like this
Problems that CSS preprocessors tried to solve that can be done using plain CSS
Problems that CSS preprocessors tried to solve that can be done using plain CSS
More like this
Object File
Object File
More like this