A better assert() [was: Re: std.unittests [updated] for review]
Nick Sabalausky
a at a.a
Sat Feb 5 19:32:26 PST 2011
"bearophile" <bearophileHUGS at lycos.com> wrote in message
news:iihr42$rqp$1 at digitalmars.com...
>
> The replacement for assert(0) is meant to be more clear in its purpose
> compared to assert(0). It may be named thisCantHappen(), or assertZero(),
> etc.
>
I vote for "fubar();" :)
...or "fellOffTheEdgeOfTheWorld();"
..."fubar" is shorter though.
More information about the Digitalmars-d
mailing list