DEV Community

Discussion on: Refactoring is not so scary

Collapse
 
lluismf profile image
Lluís Josep Martínez

I don't understand how do you compute 150 as the maximum lines of a class. It's a magic number! Please provide some scientific proof. Even in the Java API there classes with several hundred lines perfectly accomplishing SOLID principles. About comments I have no words, take any complex algorithm without comments and you won't understand shit.