DEV Community

Discussion on: Abstraction For The Sake Of Abstraction

Collapse
 
txai profile image
Txai

This is so true. I've dealt with codebases where almost every design pattern is applied, just for the sake of having a design pattern. Interfaces that have only one implementation... We are taught that more abstraction is better, but that is not always true. If, instead, we were encouraged to make simpler code and refactor when needed then we would make better solutions

Collapse
 
pbeekums profile image
Beekey Cheung

My favorite satire of the "more abstraction is better" mindset is enterprise fizzbuzz.

Collapse
 
txai profile image
Txai

This is a very good representation, indeed