Comma operator = broken design
bearophile
bearophileHUGS at lycos.com
Mon Dec 12 02:49:28 PST 2011
Regan Heath:
> > http://d-programming-language.org/expression.html#AssertExpression
>
> I found that :p .. but nothing about behaviour in release/debug/etc.
It's a known little wart of D2. We discussed about it some time ago. I have asked for a specific and clean way to do it, but D designers have said it's not a big enough wart to deserve an improvement. And as I have predicted, it comes around to bite people in the butt. This is the opposite of perfectionism...
Bye,
bearophile
More information about the Digitalmars-d
mailing list