arrays: if(null == [ ])
panke at tzi.de
Wed May 16 07:38:18 PDT 2012
On Wednesday, 16 May 2012 at 14:26:49 UTC, Alex Rønne Petersen
> On 16-05-2012 16:23, bearophile wrote:
>> 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
> I would be very happy about this change, too.
I ran into this, too.
More information about the Digitalmars-d