3 ms·
Can't they just .. disagree? Birthdays are clearly 1 indexed, the first birthday is indexed with 1, and not with 0.
by bmacho 4y ago
Can't they just .. disagree?
Birthdays are clearly 1 indexed, the first birthday is indexed with 1, and not with 0.
- ziml77 4y agoThey day you're born is birthday number 0
- bmacho 4y agoExactly. Birthday[0] gives you an out of range exception, since there is no birthday called 0th. Birthdays are [first,second,..] indexed from 1: brithday[1] = first, birthday[2] = second, and so on. That's what indexing a series from 1 means.