DEV Community

Discussion on: I work hard in order to avoid work - My view on refactoring

Collapse
 
joancomasfdz profile image
Joan Comas Fernandez

Yes I totally agree with you on the comments! And that is totally my point: avoid comments with less smarter and more expressive code!

Its just that... Have you ever worked with a developer who will twist and bend the rules? Or just focus on 1 rule (usually code duplication)? Of course cyclomatic complexity is hard to bend, but out of the multiple rules in the Clean Code, a fair amount of devs I worked with knew just a few and applied them in a questionable way.

So I had to adapt :)