Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ufo
on Nov 22, 2022
|
parent
|
context
|
favorite
| on:
Always use [closed, open) intervals
The problem with that example is that you had to ±1 both of the ends of the original range. That is, you started with [555,560) and had to rewrite it to (554,559] for the reverse loop.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: