On Wednesday 03 May 2006 13:21, Cyrille Dunant wrote:
> > > FormatableString("Hello %s %s").arg("to").arg("you")
> >
> > I'll take this one ^ since I find it more readable...
> >
> > > FormatableString("Hello %s %s")("to")("you")
>
> You could have both :)
>
> I wonder, on a general note, is having alternative syntaxes available a
> good or bad thing ?

I would say slightly bad, as it increase the amount of known thing required to 
understand the code.

I prefer the .arg() version, using %0, %1 (not %s but I think Nuage just wrote 
this by mistake) as argument.

Steph


_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to