c++ - Coding with '&&' instead of 'and' operator -


i see, c++ compilers support && , textual equivalent and operator (similar || operator or). tend textual form compare special character form. but, discouraged using textual form of such operator without concrete reasoning. don't think, textual form require more typing compare special character form. also, there won't on compiler overhead on parsing part. why major c++ community tend towards && instead and. while think, textual form clear while stating condition beginner. promote more poetry style coding rather bombarding code gibberish character.

just personal preference here; visually && breaks 2 identifiers better and does. @ glance bit quicker mentally parse expression.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -