Robert C. Martin (author clean code), proposes avoiding comments, since. How many times have you seen chunks of code commented in the middle of a class or ultra commented functions explaining step by step what they do?

Robert proposes that adding a comment in the code must be highly justified and implies that the code is not self-explanatory.

Robert proposes to rewrite the code and name things in a way that gives it semantic value

Responder