¡Échale un ojo a mi
curso nuevo de Git!
¡Ey! ¡Échale un ojo a mi curso nuevo de Git! ¡Ey! Mi curso nuevo de Git está en GitByBit.com, ¡míralo! ¡Ey! ¿Quieres repasar Git a tope? ¡Mi curso nuevo en GitByBit.com!

Dead Code

Signs and Symptoms

A variable, parameter, field, method or class is no longer used (usually because it’s obsolete).

Reasons for the Problem

When requirements for the software have changed or corrections have been made, nobody had time to clean up the old code.

Such code could also be found in complex conditionals, when one of the branches becomes unreachable (due to error or other circumstances).

Treatment

The quickest way to find dead code is to use a good IDE.

Payoff

  • Reduced code size.

  • Simpler support.