Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] OCaml compared as a scripting language
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alex Baretta <alex@b...>
Subject: Re: [Caml-list] OCaml compared as a scripting language
John Goerzen wrote:
> On Tue, Jun 15, 2004 at 11:16:44AM -0700, Karl Zilles wrote:
> 
>>Wow!  That's 4 extra characters!
> 
> 
> It was one example.  Look at the grep example at
> http://merd.sourceforge.net/pixel/language-study/scripting-language/#grep
> for a much more significant difference.

I'm not going to recode grep in Ocaml for any amount of money, but I can 
assure you that the implementation you mention is suboptimal length-wise.

Besides, most other implementations are simply unreadable. A couple more 
lines of code are worth the extra readability in this case.

Alex

-------------------
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