you are viewing a single comment's thread
view the rest of the comments
[–] 8 points 5 months ago (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 4 points 5 months ago

    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.

  • source
  • parent