Re: [Vala] type MIN and MAX



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]