HN2new | past | comments | ask | show | jobs | submitlogin

It's not necessarily abuse. I once had to code a dummy object that supported all arithmetic operations with normal numbers and had a special comparison logic that it is never equal to itself. Then you could test if something is a number or a dummy object by comparing it to itself.


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

Search: