Code Smell 151 - Commented Code
Beginners are afraid to remove code. And many seniors too.
Jul 22, 20222 min read203

Search for a command to run...
Articles tagged with #documentation
Beginners are afraid to remove code. And many seniors too.

We buy debt for our future selves. It is payback time

Comments are often a code smell. Inserting them inside a method calls for an urgent refactor.

Breaking the code to favor readability asks for refactor. TL;DR Don't add empty lines to your methods. Extract them! Problems Readability Kiss Low Reuse Solutions Extract Method Refactor Remove unneeded lines. Sample Code Wrong <? functi...

The code has lots of comments. Comments are coupled to implementation and hardly maintained.
