News for hackers. Stuff that matters.
Re:Why do arrays start at 0? by 2143 on Wednesday August 24, 2022 @09:41PM (#32588352)
Yes, where I'm at — large country in Asia — we count floors starting from 0 (aka G for Ground).

Confused me when I visited USA.

Re:Why do arrays start at 0? by Tao3300 on Wednesday August 24, 2022 @10:09PM (#32588564)
G or L (for lobby) followed by 1 isn't uncommon in the US.

> Confused me when I visited USA

It's applied inconsistently enough to be confusing for natives too!

Re:Why do arrays start at 0? by 988747 on Thursday August 25, 2022 @05:09AM (#32591350)
I've just come back from the vacation in the US, and my experience was: when the hotel has G or L for the ground floor, it still has 2 for the floor directly above it. "G or L followed by 1" never happened to me.
Re:Why do arrays start at 0? by loonster on Wednesday August 24, 2022 @10:35PM (#32588737)
It's the consistent inconsistencies that causes it to be less confusing. It would be really weird to go from someplace very orderly to another that is haphazard.