Re:Size is the best predictor of code quality
by gruseom on Monday September 26, 2011 @04:23AM
(#3038064)
That's an interesting point. There's certainly a cap on the complexity of code that can be put into a single long function. (Unless, I suppose, it has inner functions that call one another, like how people do OO in Javascript; such things can be just as complex as whole programs.) Usually it's implementing some conceptually unified thing. Even if that thing is a complex algorithm, it's still cohesive enough to be able to say what it is. And implementing even a very complex algorithm is not particularly complex at a system level.
[ Parent
| on HN ]
There are no comments on this comment yet.