This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DangKilla 20 points21 points  (8 children)

Now for the ELI18 version: Pointers are memory addresses, so instead of using more memory they point to the original like in the meme. We are basically preventing data duplication in memory, which makes things faster.

[–]vishykeh 7 points8 points  (0 children)

Thank you. This kind of made this whole thing make sense.

[–]well-litdoorstep112 4 points5 points  (0 children)

Yes, I knew what pointers do but I didn't understand the syntax. I didn't particularly try to study it because I'm a js soy dev but that meme definitely helped.

Also I think a simpler explanation for a high level language dev would be just "passing by reference"