Comments

Comments are necessary for explaining complex logic, but excessive comments can be a sign of code that is not self-explanatory. Good code should be self-documenting through clear naming.

Code :

Treatment:

Refactor the code so that the intent is clear without needing comments.