[snip]
I let overall clarity be my guide, rather than a number. If it is clearer to have an 80-line method, then that's what I'll write, rather than splitting it artificially into a dozen tiddly methods.
Cheers, Carl.
And we get to the crux of computer science. IMHO, as soon as you move from the theoretical aspects of CompSci into the practical, ie programming, Computer Science stops being a science and starts being an art.
Eh? I taught C programming at university. Never had any 5-line function rubbish. I do remember penalising students for functions > 80 lines though.
Programming is not the crux of computer science any more than the telescope is the crux of astronomy.
The D language is looking like being a nice replacement for the abomination that is C++. http://www.digitalmars.com/d/
Java is the successor to C++. D will always remain niche. It's just too late to the party.
Cheers, Carl.
