Tips from the compiler
Don
nospam at nospam.com
Tue Oct 19 00:34:27 PDT 2010
bearophile wrote:
> Don:
>
>> The problem is, once you have an "optional warning" in a compiler, they
>> are NOT optional. All standard or pseudo-standard libraries MUST comply
>> with them.
>
> The topic of this thread is about tips, compiler comments that are meant to be kept usually disabled that are useful to avoid bugs or improve code performance, etc. When you include other D libraries you keep them disabled, because you don't care to know that in your code there are 35 functions where using an Appender may improve code performance a tiny bit. Such tips are useful only in some situations, like when you look for bugs in a function or when you need to tune its performance.
I know. But such features are usable only if the libraries cooperate.
More information about the Digitalmars-d
mailing list