ConstructiCat Logo
CodeBust.
Browse section ▾

Speculative Generality.

There’s an unused class, method, field or parameter.

##Signs and Symptoms

There’s an unused class, method, field or parameter.

##Reasons for the Problem

Sometimes code is created “just in case” to support anticipated future features that never get implemented. As a result, code becomes hard to understand and support.

##Payoff

  • Slimmer code.

  • Easier support.