Code Smell 54 — Anchor Boats
- Remove dead code.
- Leave covered and real tested code.
Using some mutation testing variants we can remove the dead code and see it test fails.
We need to have good coverage to rely on this solution.
Dead code is always a problem.
We can use modern development techniques like TDD to ensure all code is alive.
How to Squeeze Test Driven Development on Legacy Systems
We all love T.D.D. We know its benefits, we have read a thousand tutorials on how to build a system using this…
Boat Anchor - The Daily Software Anti-Pattern
A Boat Anchor is a programming anti-pattern that occurs when a part of a system is kept in that system despite it no…
It is very hard to predict, especially the future.
This article is part of the CodeSmell Series.