What's missing from Phobos for Orbit (package manager)

Graham Fawcett fawcett at uwindsor.ca
Thu Mar 21 05:56:29 PDT 2013


On Thursday, 21 March 2013 at 07:39:53 UTC, Jacob Carlborg wrote:
> On 2013-03-20 23:17, Graham Fawcett wrote:
>
>> But "present" and "blank" aren't opposites in English. 
>> "isNonBlank" or
>> "isNotBlank" are opposites of "isBlank", but "isPresent" would 
>> be the
>> opposite of "isAbsent." It seems almost meaningless in the 
>> context of a
>> string predicate --- If I saw it in code, I would guess it 
>> meant "not a
>> null reference."
>
> Then have only isBlank.

Agreed, isBlank is a good addition to Phobos.

Graham



More information about the Digitalmars-d mailing list