checkedint call removal

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 30 10:31:41 PDT 2014


"Andrei Alexandrescu"  wrote in message news:lrb9jb$57u$1 at digitalmars.com...

> Before this becomes a silly debate, I was half-serious in the following 
> sense: I get uncomfortable when people say a statement is equivalent with 
> an expression, because replacement can be tedious. I often use that idiom 
> to replace assert with "always assert" inside expressions.

I guess that's a difference in our programming styles - I never use assert 
as an expression.  I don't like code that uses && || ?: for control flow.

Maybe it's because I started with basic?  I just looks ugly to me, like 
you're trying to hide it. 



More information about the Digitalmars-d mailing list