Blogs / Personal blogs

Hisham Muhammad

hisham.hm

Popular posts
4
Total points
1,468
HN comments
1,077
Rank
#1,284 personal

Visit hisham.hm → On Hacker News Feb 2016 – Jan 2021

Software Engineering 3Open Source 1Life, Learning & Writing 1History & Retro Computing 1Design & UX 1

4

Again on 0-based vs. 1-based indexing

André Garzia made a nice blog post called “Lua, a misunderstood language” recently, and unfortunately (but perhaps unsurprisingly) a bulk of HN comments on it was about the age-old 0-based vs. 1-based indexing debate. You see, Lua uses 1-based indexing, and lots of programmers claimed this is unnatural because “every…