637
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 11 Sep 2024
637 points (100.0% liked)
Just Post
618 readers
217 users here now
Just post something ๐
founded 1 year ago
MODERATORS
I'm American and I often think we do things wrong...
but not this. First floor on the SECOND floor. It's just wrong.
Arrays start at 0
You start counting with 1. If you're counting floors, where you enter the building you step on floor #1 and walking upstairs you land on floor# 2. Just like how there isn't a year 0 because we count the amount of time passed. You count the number of floors traveled.