John Regehr on "Use of Assertions"

John Carter john.carter at taitradio.com
Sun Sep 9 08:31:49 UTC 2018


On Sunday, 2 September 2018 at 01:55:53 UTC, Walter Bright wrote:
> On 9/1/2018 5:47 PM, Nick Sabalausky (Abscissa) wrote:
>> All in all, John is very non-committal about the whole thing.
>
> He probably got tired of arguing about it :-)

Let's face it, the term "assert" has been poisoned by decades of 
ambiguity.

Come up with another name, (names are free), explicitly define it 
to mean whatever you mean, explicitly define your intentions, and 
use it the way you think it should be used, and _never_ use the 
word "assert" again, .

So much pain side stepped.

ps: I entirely agree with you on asserts, but years of extremely 
painful experience tells me, give up on the word now, but not the 
concept.


More information about the Digitalmars-d mailing list