Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
FisDugthop
on Jan 27, 2020
|
parent
|
context
|
favorite
| on:
Why numbering should start at zero (1982)
Swift may have borrowed it from E, where the half-open variant is `1..!5`, read "from 1 up to, but not including, 5". It is extremely useful for 1-to-n sorts of counting tasks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: