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

Off the top of my head, Lua uses primarily 1-based arrays. (Of course, Lua arrays are actually associative arrays, so negative numbers and 0 are also valid indices, but all the standard library functions except your arrays to start at 1.)


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

Search: