Show differencesHistory of post edits
#Actualalvaro
Posted 27 July 2012 - 01:18 PM
Please, do not overload operators that people don't expect to be overloaded. Overloading operators like ",", "&&" and "||" is particularly evil because their evaluation properties (look up sequence points and short-circuit evaluation) change whether they are overwritten or not, so the potential for obfuscation is enormous.
#1alvaro
Posted 27 July 2012 - 01:18 PM
Please, do not overload operators that people don't expect to be overloaded. Overloading operators like ",", "&&" and "||" is particularly evil because their evaluation properties change whether they are overwritten or not, so the potential for obfuscation is enormous.