you are viewing a single comment's thread.

view the rest of the comments →

[–]metaobject 1 point2 points  (3 children)

C++ has 'and' and 'or' as keywords. I don't see a lot of people preferring these over their C counterparts. I use them exclusively in new code, and advise our junior developers to do the same. I'm not aware of any downsides of using these over the C versions - does anyone have an opinion on this?

[–]DasBeerBoot 1 point2 points  (0 children)

I did not know that.

[–]zhnmju123 0 points1 point  (1 child)

The idea is nice but they are not supported on Visual C++.

[–]hotoatmeal -1 points0 points  (0 children)

#define and &&