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] Printing text with holes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Printing text with holes
On Mon, Sep 29, 2003 at 11:39:32AM -0500, Brian Hurt wrote:
> On Mon, 29 Sep 2003, Martin Jambon wrote:
> > Hello,
> > 
> > I am curious to know what people use to print long text written in a
> > natural language, and containing many holes, like dynamically generated
> > web pages.
> I agree.  I think printf is a horrible way to do output.  Reasons include, 
> but are not limited to, the fact that you are basically creating a new 
> "mini-language" (the formatting language) which has to be type checked 
> etc. seperately from the main language, that the values being put into the 
> string are listed far from their positions in the string (your problem) 
> leading to missing parameters, parameters in the wrong order, etc.

Well it may not be theoretically any good, but practically printf is
immensely usable.


Richard Jones.
Merjis Ltd. - all your business data are belong to you.
"My karma ran over your dogma"

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