this post was submitted on 15 Sep 2023
240 points (92.6% liked)

Programmer Humor

32710 readers
512 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
[โ€“] grue 11 points 1 year ago (9 children)

Oh, for fuck's sake.

Your thumb is not your zeroth finger; it's your first finger.

Starting from zero is for situations when you're counting the left (or first) edge of containers used to hold items. For example, if you wanted to count the number of balls you could hold in the spaces between your fingers, you start with 0 because the number of balls you can hold between your thumb and {} is 0.

[โ€“] hairinmybellybutt 0 points 1 year ago
load more comments (8 replies)