and/or/not/xor operators

bearophile bearophileHUGS at lycos.com
Thu May 30 19:09:31 PDT 2013


Ali Çehreli:

> I don't have a preference on the topic but it would still be 
> incomplete, right? There are many other operators that don't 
> have keywords.

Beside the && || ! I think it's much better to not replace the 
other operators with keywords.


> Perhaps that's why not many people use them.

I don't know why people don't use them in C++. Python programmers 
are usually happy to not use && || !. Maybe they prefer to stick 
to one single common way to do something.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list