HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by carpal | Hacker News Reader
Full thread
carpal
·
No. In Ruby, array indices start at 0.
View on HN
brent
·
There's nothing wrong with starting indices at 1 (or n).
Reply on news.ycombinator.com