DEV Community

Discussion on: What is a type of "overconfidence" you have observed in developers?

Collapse
 
codevault profile image
Sergiu Mureşan

Too many people have overconfidence over their vision of clean code and how their version is the best. While it's great to have people caring about such an undervalued feature of the code it is still very subjective what clean code actually is.

I hear a lot of "comment every 3-4 lines of your code" and "if your function has more than 50 lines of code it has to be broken down into more functions". While that has its advantage, people often (not just forget, but) completely ignore the drawbacks in light of their "great advice".