assert(0) behavior

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 4 23:37:24 PDT 2015


On 8/4/2015 8:26 PM, deadalnix wrote:
> On Tuesday, 4 August 2015 at 20:40:47 UTC, deadalnix wrote:
>> Would you be of the opinion that assert should be a statement rather than an
>> expression ? unreadability in the middle of expressions, especially when
>> evaluation order is not well defined, is close to impossible to get right.
>
> Ping ? Walter ?
>

If you want it as its own statement, write it that way. I don't see a need to 
change the language, nor would the breakage it would cause be justified.


More information about the Digitalmars-d mailing list