re: Refactoring is not so scary VIEW POST


"Functions length should be 7-20 lines of code." - shouldn't that be "Maximum 7-20 lines of code?".
Your example functions are not 7 lines long ;)


Well that could be simplified to "maximum 20 lines of code" if we were being all programmery about it.


Ahh but then it would all go wrong when someone puts in 0 or -1 lines of code.
and are we only allowing integers....

this is trickier than I thought ;)

code of conduct - report abuse