arrays: if(null == [ ])

bearophile bearophileHUGS at lycos.com
Wed May 16 07:23:53 PDT 2012


Steven Schveighoffer:

> Regardless, we should fix if(!arr) to mean if(!arr.length).

This seems a nice idea (and Python programmers will be thankful, 
because they are used to empty collections/strings to be false). 
Is this request in Bugzilla? Are people opposed to this little D 
breaking change?

Bye,
bearophile


More information about the Digitalmars-d mailing list