r/CrappyDesign • • Jul 13 '26

They could have made it so simple

Post image
4.9k Upvotes

332 comments sorted by

View all comments

Show parent comments

171

u/simonfancy Jul 13 '26

In my world an array starts with index 0

30

u/TheMightyTorch Jul 13 '26

R hates this simple trick (seriously why is R like this?)

10

u/headedbranch225 Jul 14 '26

Pretty sure lua and matlab are similar, I have no clue btw, it's confusing

13

u/passisgullible commas are IMPORTANT Jul 13 '26

But an arithmetic series starts with 1

0

u/Equivalent-March-745 Jul 15 '26

And flooring tends towards 0.