Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zmgsabst
on Nov 22, 2022
|
parent
|
context
|
favorite
| on:
Always use [closed, open) intervals
Small comment:
I think you have your integer example backwards, ie [1,8) = [1,7].
hans_castorp
on Nov 22, 2022
[–]
Yes, of course ;) Copy & Paste error.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I think you have your integer example backwards, ie [1,8) = [1,7].