More bugs found in OS code
Adam D. Ruppe
destructionator at gmail.com
Wed Nov 2 21:00:11 PDT 2011
bearophile:
> But how many times do you want to ignore some of the
> arguments listed?
I do a lot. The way I do it is the arguments are made
available to the format, but it doesn't always need them
at runtime.
string f = showNames ? "%1$s\t%2$d" : "%2$d";
writefln(f, name, number);
Though I don't literally use writefln for most
my code the same idea applies.
More information about the Digitalmars-d
mailing list