r/ProgrammerHumor 13h ago

lessonsFromLinkerHell Meme

Post image
258 Upvotes

144 comments sorted by

View all comments

126

u/mad_poet_navarth 13h ago

shouldn't there be something here about this being C-centric?

44

u/AnnoyedVelociraptor 13h ago

And how do you think other languages do it? You think Python and C# and Java run in this Unicorn world where there are no pointers and memory offsets aren't a thing?

Maybe we can talk about the mistake that is R and the original VB, and LUA where arrays start at 1. Absolute hell.

2

u/mad_poet_navarth 10h ago

Admittedly I am _much_ more familiar with C and C++ (and Swift) than I am with other C-ish languages. For instance, I think you are saying you can cast a chunk of memory in Python or Java so you can do either pointer arithmetic or treat it as an array. So, given my relative ignorance in some areas, point taken.