1372
Off by one solitude (fed.dyne.org)
submitted 2 days ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 111 points 2 days ago

She is right, using 0 index for physical stuff is stupid.

[-] [email protected] 37 points 2 days ago

Your rulers start at 1? That sounds annoying.

[-] [email protected] 9 points 2 days ago* (last edited 2 days ago)

Your job is to move apples from one bin to another. You pick up the first one and set it in the other bin, and say "zero."?

[-] [email protected] 6 points 1 day ago

When playing games with the kids, we start at 0 being the position you are currently in, then count from there.

e.g. in snakes and ladders, if you are on spot 30 and roll a 5, tap spot 30 and say "zero", then spot 31 is "one" etc.. till you are at spot 35 saying "five".

Teaches the kids about zero and avoids miss counts from the younger ones counting their current position as "one"

load more comments (1 replies)
load more comments (11 replies)
load more comments (20 replies)
this post was submitted on 19 Sep 2024
1372 points (98.5% liked)

Programmer Humor

32070 readers
553 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS