Browse thread
[Caml-list] OCaml compared as a scripting language
[
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-16 (02:48) |
From: | skaller <skaller@u...> |
Subject: | Re: [Caml-list] OCaml compared as a scripting language |
On Wed, 2004-06-16 at 03:35, John Goerzen wrote: > fprintf fd "%d\n" theint; > > or > > output_string fd ((string_of_int theint) ^ "\n"); > > Python: > print theint > > Perl: > print FD "$theint\n"; This is not a fair comparison though: if you need to do lots of output, which I do in the Felix code generator, you define abbreviations. pl (si theint); which is shorter than the Perl. -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- 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