comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: two questions on allocators
Date: Fri, 02 Mar 2018 09:20:49 +0000
Date: 2018-03-02T09:20:49+00:00	[thread overview]
Message-ID: <lyinaej0jy.fsf@pushface.org> (raw)
In-Reply-To: wcctvtzqtb1.fsf@TheWorld.com

Robert A Duff <bobduff@TheWorld.com> writes:

> "not null" is checked in more places than "Predicate => S /= null".
> You might think that means "not null" is safer.

I think I'm going to be terminally confused. I'd rather have to work
round the fact that something was *going* to be checked than be able to
write code (with fingers crossed) using the fact that *in some
circumstances* it might not be.

I recently (discussed here) came across a problem using a predicate
where even Randy wasn't sure whether the predicate check should have
been triggered.


  parent reply	other threads:[~2018-03-02  9:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-23 20:42 two questions on allocators Mehdi Saada
2018-02-23 22:30 ` Shark8
2018-02-23 23:30   ` Mehdi Saada
2018-02-25  2:17     ` Randy Brukardt
2018-02-24 10:20   ` AdaMagica
2018-02-24 10:18 ` AdaMagica
2018-02-25 12:12 ` Mehdi Saada
2018-02-26 23:02   ` Randy Brukardt
2018-02-28 16:09   ` Robert A Duff
2018-02-28 23:37     ` Randy Brukardt
2018-03-01  8:30       ` Dmitry A. Kazakov
2018-03-01 23:17       ` Robert A Duff
2018-03-01 23:47         ` Shark8
2018-03-02  9:20         ` Simon Wright [this message]
2018-03-02 22:37           ` Randy Brukardt
2018-03-02 22:31         ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox