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

Reminds me of something I wrote a few months ago on how to detect negative numbers: http://stackoverflow.com/a/11910993/1329367 but obviously the one above has much more value add and follows better design patterns.


You have to have a sick mind to come up with something like that, I salute you sir.


cringe ... a<0?sth:sthelse; phew...




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

Search: