> What about this? > > http://blog.stevex.net/index.php/string-formatting-in-csharp/ > > Just taking {0} {1}...
What would the c#-style format give us that the printf-style doesn't? If you're just going to use an item's to_string() method, you can invoke it explicitly and use %s. The c#-style formatting has the additional pitfall of letting you inadvertently do: string.Format("{0} blah {1}", foo); I see a fair number of those, and they don't get caught until runtime. -- http://homes.eff.org/~barlow/EconomyOfIdeas.html http://www.dreamsongs.com/MobSoftware.html http://www.gnu.org/philosophy/shouldbefree.html _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list