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".
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
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".