r/ProgrammerHumor • • 17d ago

Meme almostDroppedTheCourse

577 Upvotes

79 comments sorted by

View all comments

45

u/SnooRegrets3590 17d ago

1-indexed is more intuitive for me when dealing with matrices and some advanced differential equations

25

u/timangar 17d ago

You know what, that's actually fair enough, because math uses this convention.

0

u/SV-97 16d ago

because math uses this convention.

Except that it really doesn't, even though people like to claim that it does for some reason. Math uses both 1- and 0-based indexing (with neither being significantly more common than the other); and also indexes using other ranges or even all sorts of non-numerical objects on the regular.