Rule request
Thesis
Nowadays, developers often use an excessive number of comments, which leads to unclear code, loss of readability, increased cognitive load, trying replace good documentation.
This rule complements WPS 402..
Let's be honest: people often write comments because their code is less readable and overly complex.
Reasoning
The most appropriate solution is to introduce a new violation called TooManyCommentsViolation.
This violation would enforce a maximum of N comments inside functions or methods (and in the future, we could extend it to all files).
Rule request
Thesis
Nowadays, developers often use an excessive number of comments, which leads to unclear code, loss of readability, increased cognitive load, trying replace good documentation.
This rule complements WPS 402..
Let's be honest: people often write comments because their code is less readable and overly complex.
Reasoning
The most appropriate solution is to introduce a new violation called
TooManyCommentsViolation.This violation would enforce a maximum of
Ncomments inside functions or methods (and in the future, we could extend it to all files).