Re: [Vala] type MIN and MAX

What about this?

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.


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