News for hackers. Stuff that matters.
Re:Functions Should Be Short And Sweet, But Why? by sigmaml on Wednesday January 22, 2014 @06:14AM (#7101949)
I worked on a similar project; the US consultant insisted that each method should be less than 25 lines. The code involved several decision trees. This rigid limit made the code quite inconvenient to follow and enhance. After much sweat and swearing on both sides, the limit was increased to 40 lines!

There are no comments on this comment yet.