Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Great Programming Language Shootout Revived
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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 <> 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 :)


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: