March 21, 2013
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.

-- 
/Jacob Carlborg
March 21, 2013
On 2013-03-20 21:18, Simen Kjaeraas wrote:

> I say do the review, make things faster afterwards. There'll always
> be stuff you can do better, and it's not really harder to do after a
> review. Plus, that will get it into Phobos faster.
>
> Sorry about necroing the thread, btw. My mail client ferked up and
> hadn't sent mails for a few weeks.

I'll do that then. I need to regenerate the docs, then it should be
good to go.

-- 
/Jacob Carlborg
March 21, 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

5 6 7 8 9 10 11 12 13 14 15
Next ›   Last »