On Tue, May 14, 2002 at 03:45:36PM +0100, Robert Ennals wrote: > Just thought I would jump in and say that, unlike (it seems) > everyone else, I hate printf in C. It is a horrible horrible > inextensible hack of a function that I find extremely awkward to > use. > ... > I personally much prefer the syntax currently used in Haskell, which > is also essentially what is used in most other recent languages, > including Java, C++, and (god help me) Perl. > > In the example given, I could write: > > "I have " ++ action ++ " " ++ number ++ " " ++ whatas > where > action = "trained" > number = show 1 > whatas = "Jedi" > > Which is IMHO rather more readable than a load of weird control codes hidden > in a text string that one then has to match against a list.
How would you deal with internationalisation issues? --Dylan
msg10875/pgp00000.pgp
Description: PGP signature