News for hackers. Stuff that matters.
Re:Why do arrays start at 0? by rswail on Thursday August 25, 2022 @02:40AM (#32590379)
Not only that but which floor is the 13th (in the West) or 14th (in China)? Often those numbers are skipped because "luck", "feng shui", or other superstitious nonsense.

Do you count the machine floors in high rise buildings?

In AU, the ground floor is effectively "zero", the first floor is the one above ground. Depending on the design of the building, there might be a "mezzanine" floor between ground and 1st.

Basements usually follow the same pattern, so B1 is the first floor below ground etc.

Re:Why do arrays start at 0? by nawitus on Thursday August 25, 2022 @03:27AM (#32590689)
In one department store in Finland there are two separate numbering schemes, see this photo from the elevator: https://hs.mediadelivery.fi/img/some/default/c244c43c3008429...