Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ufo
11 days ago
|
parent
|
context
|
favorite
| on:
Teal – A statically-typed dialect of Lua
For sure, but 0-based indexing often goes hand in hand with half-open intervals [0,n). One might even argue that a special way to access the "last index" is as unergonomic as just typing "length - 1"
help
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: