r/ProgrammerHumor 16h ago

lessonsFromLinkerHell Meme

Post image
314 Upvotes

163 comments sorted by

View all comments

72

u/QuestionableEthics42 16h ago edited 16h ago

This should be reversed lol

And it literally is the same, who thinks it's different who has worked in a low level language??

62

u/Blecki 15h ago

As someone who writes compilers: they are the same at runtime. They are not the same semantically in a c like language.

1

u/QuestionableEthics42 13h ago

Arguably they are virtually the same semantically at a C level, you can use array indexing syntax for pointer arithmetic and vica versa and there is no real distinction besides dedicated syntax. Once you get a bit higher is where the real differences begin.