Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
klyrs
on Aug 17, 2021
|
parent
|
context
|
favorite
| on:
What was the last breakthrough in computer program...
Nah, unsigned ints are magical. Why check
(i < 0) || (i > n)
when you can just simplify it to
(i > n)
after verifying that n < max_uint?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: