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: 2003-09-30 (06:11)
From: David Brown <caml-list@d...>
Subject: Re: [Caml-list] Printing text with holes
On Mon, Sep 29, 2003 at 11:40:21PM -0500, Brian Hurt wrote:

> At heart, printf is doing two seperate jobs...

I've done considerable programming both in languages that have
printf-style formatting (checked and unchecked), as well as languages
that require operators or such to build up formatting.  Any time I've
wanted to output something, I have one of two responses, depending on
the language:

  - Grumble, grumble, grumble.
  - Just write it.

You can probably guess which is which.  That ocaml has been able to
integrate printf formatting in a type-safe way is truly amazing, and to
me one of the things that makes ocaml a wonderful language.

True, it isn't universally extensibly, but it is a lot more so than most
people think.


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