Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lhomdee
on Jan 20, 2021
|
parent
|
context
|
favorite
| on:
Again on 0-based vs. 1-based indexing
Exactly. When I was a beginner I made off-by-1 errors (in Python mind you) all the time. Now that I iterate directly through arrays or use map-reduce patterns I rarely have to handle the index itself.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: