Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Dealing with the negative consequences of overloaded operators in C++ (cplusplus.co.il)
1 point by briansmith on March 21, 2010 | hide | past | favorite | 1 comment



When a C++ developer overloads operators in stupid ways, you fire that developer and rewrite his code. You shouldn't have to make other code obfuscated in creative ways (such as this void() example) to compensate for weird operator semantics in specific objects.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: