Opinions please -- how big should a single module grow?

Tomasz Rola rtomek at ceti.com.pl
Fri Jul 9 14:03:59 EDT 2010


And just in case... A real life example (my computer, more or less typical 
Linux setup):

find / -type f -name '*.py' -exec wc {} \; 
 | gawk '{ l+=$1; } END {print l / FNR; } BEGIN { l=0; }'

(the two lines should be concatenated)

This gives a mean:

269.069

So, if I did not screw something, a typical Python code size is far below 
1KLOC (wc counts all lines, so my result includes all comments and blanks 
too).

Regards,
Tomasz Rola

--
** A C programmer asked whether computer had Buddha's nature.      **
** As the answer, master did "rm -rif" on the programmer's home    **
** directory. And then the C programmer became enlightened...      **
**                                                                 **
** Tomasz Rola          mailto:tomasz_rola at bigfoot.com             **



More information about the Python-list mailing list