Making a difference, one date at a time.

87 points · 5 comments · view on lemmy.world

5 Comments

imsufferableninja@sh.itjust.works · 8 pts · 98d (1 reply)

That's 100% language dependent. Lua, for example, starts at 1

TechieDamien@lemmy.ml · 4 pts · 98d

Sure, but under the hood, it is still 0 indexed, since it uses the index and type size to offset in memory and get your value. Also some languages let you set where you want indexing to start from, which is kind of funny.

Wizard3964@lemmy.dbzer0.com · 4 pts · 98d (2 replies)

What about R?

IAmNorRealTakeYourMeds@lemmy.world · 8 pts · 98d (1 reply)

DragonTypeWyvern@midwest.social · 2 pts · 98d

Oh my, that's the perfect level of nuked