Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lupire
on Nov 22, 2022
|
parent
|
context
|
favorite
| on:
Always use [closed, open) intervals
No one really wants [x, y). That want [0,y) or [x,x+y) because y is the length of the interval.
So no one wants (y,x] when going backwards, because x<>0 there.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So no one wants (y,x] when going backwards, because x<>0 there.