assert(0) behavior
via Digitalmars-d
digitalmars-d at puremagic.com
Wed Aug 5 02:10:09 PDT 2015
On Wednesday, 5 August 2015 at 06:37:21 UTC, Walter Bright wrote:
> 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.
I suppose he's asking as maintainer of SDC.
More information about the Digitalmars-d
mailing list