Forbid dynamic arrays in boolean evaluation contexts

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Mar 25 09:46:42 PDT 2013


25-Mar-2013 20:43, Phil Lavoie пишет:
> I do believe that, in any case, this form is best:
> if( arr !is null && !arr.empty )
>

Now write that one thousand times and count the typos.

> Peace,
> Phil


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list