1416
Off by one solitude (fed.dyne.org)
you are viewing a single comment's thread
view the rest of the comments
[-] sgibson5150@slrpnk.net 17 points 2 days ago

Wouldn't it be nice if documentation used the words index and offset consistently?

[-] Zagorath@aussie.zone 2 points 2 days ago

Aren't those two the same thing? At least in C-style arrays, which might not be how they're handled under the hood, but is at least how most languages present it to the programmer.

[-] ReversalHatchery@beehaw.org 3 points 2 days ago

in my understanding offset is technically the "relative index", or how much you have to go further

load more comments (1 replies)
load more comments (7 replies)
this post was submitted on 19 Sep 2024
1416 points (98.6% liked)

Programmer Humor

32067 readers
398 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS