dmd 2.029 release

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Apr 20 13:18:02 PDT 2009


bearophile wrote:
> Andrei Alexandrescu:
>> extraneous arguments passed to writef will be ignored, not printed
>> with default formatting.
> 
> That sounds bad: => "Errors should never pass silently." It's better
> to raise a compilation error. (And if that's not possible, then an
> exception at run-time. But a compilation error is much better).

If it were an error, I wouldn't let it go. A good use case is string 
tables - a formatted message may or may not use all of the available 
information.

Andrei


More information about the Digitalmars-d-announce mailing list