Hacker News new | ask | show | jobs
by Mahn 4843 days ago
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.
2 comments

You have to have a sick mind to come up with something like that, I salute you sir.
cringe ... a<0?sth:sthelse; phew...