dmd 2.029 release
Lutger
lutger.blijdestijn at gmail.com
Tue Apr 21 23:50:43 PDT 2009
Russell Lewis wrote:
...
> Case in point: I have been bitten by this perhaps half a dozen times
> *already* porting older code. This code used to work fine:
>
> writefln("The value is: %d", myVar, ". Do something!");
>
...
I bet a lot of to-be-ported D code will have this bug, I know my code will.
When you want to print a format string this way - last argument(s) simply
appended, it saves you two characters typing. When something saves any
characters typing and produces the same result, programmers will do that.
More information about the Digitalmars-d-announce
mailing list