Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
TitanLannister3655126d📌📌📌 would surely like to know about this.
if i have to follow your naming convention , then i have similar rule for myself and it would be called
fattymiller958126d50 lines for a single method is insane..
You should probably be able to split it out into smaller pieces for readability, and possible code reuse reasons.
demiDev741125d@fattymiller I think you didn't get it.
550 is not a standard or average.
It's at most. Method shouldn't have more than 50 line. It's not meant, it is good to be 50. I think 220 is rule for good programming.
1- class under 200 is good class and method under 20 is a good method.
2- class over 500 is bad class and method over 50 is bad method.
Then between these numbers is not good and not bad area.
host1270011819125dI use the 10 10 10 rule.
Max 10 lines of code per function or method
Max 10 public functions in a module or 10 methods in an interface
Max 10 modules or classes in the same folder
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job