Distinction of null and empty [was Re: Ceylon language]

Jesse Phillips jessekphillips+D at gmail.com
Thu Apr 14 14:25:51 PDT 2011


spir Wrote:

> This also leads to actual distinction of null and [] or "" for arrays & 
> strings. Just dreaming...

Really? You want this? I really like that a null array is equal to an empty array.

If you really care to find out if a string is null

if(str is null)


More information about the Digitalmars-d mailing list