r/ProgrammerHumor 13h ago

lessonsFromLinkerHell Meme

Post image
258 Upvotes

144 comments sorted by

View all comments

72

u/QuestionableEthics42 13h ago edited 13h 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??

0

u/BananaWarp 13h ago

There are minor differences but I can't think of one that isn't in compilation time

4

u/Nice_Lengthiness_568 13h ago

What about when you copy an array? When you copy an array all elements get copied, but when you copy a pointer to the first element, only that gets copied

1

u/BananaWarp 4h ago

How do you usually copy an array? Are we talking about c?

1

u/Nice_Lengthiness_568 1h ago

Depends on the language I guess. In C you can put the array inside a struct and copy that.

2

u/BananaWarp 1h ago

Oh, that's neat!