It depends on your language and coding style, doesn't it? I've seen C style guides that require you to stretch out onto 15 lines what I'd hope to take 4, and in a good functional language shouldn't take more than 2.

Yes, and the number of lines is a ridiculously bad metric of the code's complexity anyway.

Was a funny moment when someone I know was doing a Java assignment, I got curious, and it turned out that a full page of Java code is three lines in Perl :-)

Open thread, January 25- February 1

by NancyLebovitz 1 min read25th Jan 2014318 comments


If it's worth saying, but not worth its own post (even in Discussion), then it goes here.