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.

Reply via email to