Pointers and References
A pointer or reference is a variable holding a memory address instead of a value — the idea underneath sharing, mutation, and half the bugs that make you say 'but I didn't touch that variable.'
A pointer or reference is a variable holding a memory address instead of a value — the idea underneath sharing, mutation, and half the bugs that make you say 'but I didn't touch that variable.'