this post was submitted on 24 Jul 2022
57 points (95.2% liked)

Programmer Humor

32718 readers
510 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
[–] [email protected] 3 points 1 year ago

I've talked too much with mathematicians

You are talking to one right now :) (not sure if a bachelors degree is enough to call yourself one)

you can't have 0 apples

You can actually. In fact, right at this moment I have 0 apples. If 0 is not natural, then you have no way of describing the number of apples I have.

There are a lot of concepts (degree of a polynomial, dimension of a space, cardinality of a set, in a graph) where 0 is a natural possibility.

So I think 1 indexing is fine, I use it all the time, but to me 0 belongs with the natutals. I will say tho, that 0 does not make sense to me as an ordinal. "He finished the race in 0-th place"????