2 ms·
Keep in mind - a function shouldn't contain more than one level of abstraction really. Having a 50+ line function, the code is telling you that you have a clas
by lucidguppy2000 11y ago
Keep in mind - a function shouldn't contain more than one level of abstraction really. Having a 50+ line function, the code is telling you that you have a class in there struggling to get out.
Also - you may be superior to others and able to understand a 50 line function. But what about your colleagues?
The average cognitive limits of are well known. I doubt we will evolve to beyond these flaws in my lifetime.