Knuk@lemmy.world to No Stupid Questions@lemmy.world · 7 months agoHow many floors are under an apartment on the second floor? (No basement)message-squaremessage-square62fedilinkarrow-up152arrow-down18file-text
arrow-up144arrow-down1message-squareHow many floors are under an apartment on the second floor? (No basement)Knuk@lemmy.world to No Stupid Questions@lemmy.world · 7 months agomessage-square62fedilinkfile-text
minus-squareHobbitFoot @thelemmy.clublinkfedilinkEnglisharrow-up22·7 months agoOther countries treat the question more as “how many floors from the ground are you?” than what you’re used to. After all, what floor is 0?
minus-squarestoicmaverick@lemmy.worldlinkfedilinkarrow-up8·7 months agoMy inner computer scientist likes this framing, and understands its logic. My inner, and much less influential human being, hates it a lot AF.
minus-squareyoevli@lemmy.worldlinkfedilinkEnglisharrow-up8arrow-down1·7 months agoEven in the CS world, ordinal phrases are still 1-indexed (e.g. the first element of an array vs element 0).
minus-squareJDubbleu@programming.devlinkfedilinkarrow-up3·7 months agoIt’s actually pretty common to say 0th index, but it depends a lot on context.
minus-squareyoevli@lemmy.worldlinkfedilinkEnglisharrow-up2·7 months agoSure, but that only applies when referring to indices or to the zeroth element specifically.
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up5·7 months agoThe one where it says 0 on the elevator?
minus-squareAnamnesis@lemmy.worldlinkfedilinkarrow-up4arrow-down1·edit-27 months agoBut in the US way, you’re only one floor from the ground on the first floor. 0 isn’t a floor, it’s literally the ground we put the first floor on.
Other countries treat the question more as “how many floors from the ground are you?” than what you’re used to. After all, what floor is 0?
My inner computer scientist likes this framing, and understands its logic. My inner, and much less influential human being, hates it a lot AF.
Even in the CS world, ordinal phrases are still 1-indexed (e.g. the first element of an array vs element 0).
It’s actually pretty common to say 0th index, but it depends a lot on context.
Sure, but that only applies when referring to indices or to the zeroth element specifically.
The one where it says 0 on the elevator?
But in the US way, you’re only one floor from the ground on the first floor. 0 isn’t a floor, it’s literally the ground we put the first floor on.