this post was submitted on 19 Sep 2024
1482 points (98.5% liked)

Programmer Humor

32479 readers
278 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lefixxx@lemmy.world 118 points 1 month ago (23 children)

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

[–] jmcs@discuss.tchncs.de 45 points 1 month ago (13 children)

Your rulers start at 1? That sounds annoying.

[–] gallopingsnail@lemmy.sdf.org 10 points 1 month ago* (last edited 1 month ago) (2 children)

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."?

[–] spikespaz@programming.dev 9 points 1 month ago

There's another way to think about it which I actually use. Look in the empty bin and say "zero", then move an apple and say "one".

load more comments (1 replies)
load more comments (11 replies)
load more comments (20 replies)