Knuk@lemmy.world to No Stupid Questions@lemmy.world · 2 years agoHow many floors are under an apartment on the second floor? (No basement)message-squaremessage-square58linkfedilinkarrow-up10arrow-down10file-text
arrow-up10arrow-down1message-squareHow many floors are under an apartment on the second floor? (No basement)Knuk@lemmy.world to No Stupid Questions@lemmy.world · 2 years agomessage-square58linkfedilinkfile-text
minus-squarestoicmaverick@lemmy.worldlinkfedilinkarrow-up0·2 years 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-up0·2 years 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-up0·2 years agoIt’s actually pretty common to say 0th index, but it depends a lot on context.
minus-squareyoevli@lemmy.worldlinkfedilinkEnglisharrow-up0·2 years agoSure, but that only applies when referring to indices or to the zeroth element specifically.
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.