I'm sure you can do crazy stuff with pointers

but the basic stuff is like... super intuitive?

Internet convinced me they were some kind of ancient black magic

is literally a pointer. It points to a place.

The place in which something is.

So you can modify things out of the scope as long as you have a valid pointer

because pointers points to memory

you pass a pointer, create some new data, and put it on the place of the pointer

What's the deal?

@YoSoyFreeman The problem is that they don't have to point to your stuff. They can point anywhere in memory.

They're like portals. Making them to places you already know is pretty safe. But if you're crazy, you can do some really unsafe but powerful stuff.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.