Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> While fake operator overloading is a fun hack, you probably shouldn’t use it in production code.

> But at the very least, fake operator overloading allows you to impress your friends by unusual-looking code.

Couldn't agree more. Please, please don't use this in production.

Edit: Just wrote the following piece of code:

  coors[0] = ~~cors[0];
Damn.


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

Search: