Re:C Pointers Explained, Really (2012)
by lumpypua on Tuesday November 25, 2014 @04:00AM
(#8656937)
> The difficulty with pointers is, for me, keeping track of them in your head, especially when you work with arrays.
I think this is mostly an artifact of C's type system. I wish pointers were taught in a language with similar runtime semantics as C with a more expressive type system. Drawing it out helps a ton, but the way C forces you to embed that structure into code doesn't help.
I think this is mostly an artifact of C's type system. I wish pointers were taught in a language with similar runtime semantics as C with a more expressive type system. Drawing it out helps a ton, but the way C forces you to embed that structure into code doesn't help.