How many lines should a function have?
This question is probably one of the most debatable in programming, ever, and I wasn’t much surprised to find it also on Stack Overflow1.
Actually, I wasn’t surprised to find about a dozen different questions in the same gist, but here is the one that I really liked, especially some of the more interesting answers: How many lines should a method typically have?.
- The best programming questions and answers site – if you’re a programmer by trade or hobby and you’re not familiar with Stack Overflow, then go register. [↩]