[EMAIL PROTECTED] wrote: > > The Language Shootout at http://shootout.alioth.debian.org/ has code > > samples in many languages, both interpreted and compiled, including > the > > ones you mentioned. Don't trust the lines-of-code statistics, though > -- > > the LOC measure is wrongly shown as zero for several codes, and > comment > > lines are counted, so that languages with programmers who use more > > comments are penalized. > > afaik the LOC measure does not count comment lines - is there a > specific example?
(this message is OT for c.l.py, sorry) The "random Fortran Intel program" at http://shootout.alioth.debian.org/benchmark.php?test=random&lang=ifc&id=0&sort=fullcpu is said to have 40 lines, but excluding blank lines and comment lines (those that start with "!") I count 22. The "ackermann Fortran Intel program" at http://shootout.alioth.debian.org/benchmark.php?test=ackermann&lang=ifc&id=0&sort=fullcpu is wrongly said to have 0 lines. There are other cases of these problems. -- http://mail.python.org/mailman/listinfo/python-list