Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
trealira
on July 16, 2025
|
parent
|
context
|
favorite
| on:
To be a better programmer, write little proofs in ...
Yeah, it would have to be something like this if you wanted to avoid the signed integer overflow at the end of the loop:
assert(i <= j); for (;;) { do_something_with(i); if (i == j) break; i++; }
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: