Y
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
UnoriginalGuy
4843 days ago
You have to have a sick mind to come up with something like that, I salute you sir.
link
solistice
4843 days ago
cringe
... a<0?sth:sthelse; phew...
link