|
|
|
|
|
by ranger_danger
253 days ago
|
|
I think it would help a lot if pointers were taught to people from the perspective of how they actually occupy memory, and what the value it stores in memory represents, and then how that value is an address that is followed when a pointer is "dereferenced", etc. It seems a lot of people assume that pointers don't actually consume any memory and then get confused trying to understand it that way. |
|
I came at C after doing 6502 and 8086 assembler. Pointers just made sense because working with indirect addressing and understanding how things were stored in memory already made sense.