Browse thread
[Caml-list] Great Programming Language Shootout Revived
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-06-18 (08:38) |
From: | Sebastien Ferre <sbf@a...> |
Subject: | Re: [Caml-list] Great Programming Language Shootout Revived |
Yaron Minsky wrote: > On Thu, 17 Jun 2004 13:05:12 -0500 (CDT), Brian Hurt <bhurt@spnz.org> wrote: > > >>What's starting to happen, now that the project has started up again, is >>advocates/supporters of other languages have started to submit improved >>versions of the code for their languages. For example, I notice that >>Ocaml has dropped from it's #1 place in least lines of code to #2, with >>Ruby taking the lead. > > > For what it's worth, the ocaml line-counts in the shootout are > particularly bogus. There are lots of examples where the ocaml code > does things like putting entire for loops (or even nested for loops!) > on a single line. Here's an example: What about counting characters instead (counting several spaces in a row as only one character) ? As most languages just don't mind where you cut the lines, this seems to me a more fair measure. Also, this would give complete freedom on the indentation style without resulting in any disadvantage for the language rank. Just a suggestion :) Sébastien ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners