and/or/not/xor operators

Ali Çehreli acehreli at yahoo.com
Thu May 30 18:57:05 PDT 2013


On 05/30/2013 06:41 PM, Shriramana Sharma wrote:

 > "no one uses"?!!! I use, for one.

Are there others in the team?

Without getting into the argument of whether they are useful, you are 
the first person that I know who uses them. :) I have been programming 
in C since 1988 and in C++ since 1997. I have read a lot of books 
(mostly on C++), frequented the C++ newsgroups for years and years, and 
did work at many C and C++ companies. I have never seen those keywords used.

 > I agree that we should retain the old operators for C compatibility
 > but really at least the basic and/or/not/xor keywords should be
 > provided.

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. Perhaps 
that's why not many people use them.

Ali



More information about the Digitalmars-d-learn mailing list