Bad Smells: Unnecessary complexity


“Everything should be made as simple as possible. But not simpler.”

Albert Einstein

Unnecessary code complexity can present itself in the following bad smells:

Follow the principle YAGNI (You Aren’t Gonna Need It).

Dead Code

To do

Remove unused code and associated tests.

Rewards

Contraindications

Do not delete code that can be used to support clients even if it is not used within your framework.

Speculative Generality

To do

Rewards

Contraindications

2019-03-19
Written by Samuel de Vega.
Tags