Should writef try to statically check for format specifiers?
Andrej Mitrovic
andrej.mitrovich at gmail.com
Mon Apr 11 18:25:03 PDT 2011
On 4/12/11, Jesse Phillips <jessekphillips+d at gmail.com> wrote:
> On Tue, 12 Apr 2011 01:55:24 +0200, Andrej Mitrovic wrote:
>
>> On 4/12/11, Jesse Phillips <jessekphillips+D at gmail.com> wrote:
>>> Andrej Mitrovic Wrote:
>>>
>>>> %s doesn't stand for string in D.
>>>
>>> Yes it does.
>>
>> I was quoting bearophile's "it should error" post, you know that.
>
> I do now. Though it still stands for string ;)
>
It still kicks printf's butt for not having to worry about writing all
the right specifiers. Just put in %s and life's easy. :)
More information about the Digitalmars-d-learn
mailing list