String Theory Questions

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 14 22:08:12 PDT 2014


On Sunday, 14 September 2014 at 13:48:01 UTC, ketmar via 
Digitalmars-d-learn wrote:
> for the reason that all reference objects either "null" or 
> "non-null".
> empty string is non-null, so... it's C leftover actually. there 
> are
> alot such leftovers in D.

For pointers it's logical, but it doesn't work as good for 
slices: they're better thought of as either empty or non-empty.


More information about the Digitalmars-d-learn mailing list