string <-> null/bool implicit conversion

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 21 13:55:51 PDT 2015


On 08/21/2015 10:01 PM, Vladimir Panteleev wrote:
> I just write code this way, because I find the empty/null distinction
> obvious and useful. Shocking, I know.

One of the main reasons this might be considered "shocking" is because 
DMD does not cleanly make this distinction. [] is null.


More information about the Digitalmars-d mailing list