Here's a secret I wish someone told me in high school: literally everything is pass by value, it's just that sometimes the value is an address. It demystified pointers for me.
I was laughed at on the playground when I got the idea for wireless charging back in the 90s.
Here's a secret I wish someone told me in high school: literally everything is pass by value, it's just that sometimes the value is an address. It demystified pointers for me.