Programming language productivity

Peter Maas peter.maas at somewhere.com
Sun May 21 15:19:53 EDT 2006


John Bokma wrote:
> Also note that Python programmers write more lines/hour which they need to 
> finish in the same time as Perl programmers :-D.

You probably want to say that a Python program tends to have more lines than
an equivalent Perl program.

I think that a LOC comparison between a language that enforces line breaks
and another language that enables putting an lots of code in one line doesn't
make much sense. I wonder why comparisons aren't made in terms of word count.
Word count would include literals, constants, variables, keywords, operators,
bracket- and block delimiter pairs. Python indent/unindent would of course
also count as block delimiters. I think this would be a more precise measure
for software size.

Peter Maas, Aachen.



More information about the Python-list mailing list