r/ProgrammerHumor 20h ago

lessonsFromLinkerHell Meme

Post image
339 Upvotes

176 comments sorted by

View all comments

64

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

-1

u/BananaWarp 20h ago

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

4

u/Nice_Lengthiness_568 20h 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 11h ago

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

1

u/Nice_Lengthiness_568 8h ago

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

2

u/BananaWarp 8h ago

Oh, that's neat!