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

That doesn’t really address what you call it. Names only really just exist to get your point across. Inexperienced devs may not know what an offset means (or why we use that), so index does the job. An experience dev knows how it works anyway, so whether you say index or offset won’t matter. By virtue of the common denominator, I simply use index everywhere.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 1 point 5 months ago (4 children)

    depends on the area you're working in. it's a pretty important distinction in embedded software.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 5 months ago (3 children)

    Why? I’ve worked as an embedded dev for a few years and nobody in my team cared what it was called.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 5 months ago (2 children)

    because making sure offsets are correct come up a lot when you're memory-mapping IO.

  • source
  • parent
  • hideshow 2 child comments