Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

0-based: you're offsetting. In C, you're offsetting a base address by a multiple of sizeof(item).

1-based: you're numbering. In Lua, an array is an optimization of a hash, and the items inserted without explicit keys are numbered one, two, three…



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: