Many languages these days are fairly Lispy, except for being homoiconic and thus having a full-strength macro system instead of C's token pasting or many other languages' nothing.
But which ones are absolutely vital to learn, and which ones are "just different languages"?
Showing posts with label pointers. Show all posts
Showing posts with label pointers. Show all posts
Wednesday, November 16, 2011
Sunday, September 4, 2011
sapphirepaw's Introduction to Pointers, version 2
I programmed in assembly for some time, using pointers without understanding what they were, or that they were called pointers. When I finally got to learning C, the pointer syntax was downright inscrutable, but when I got it, suddenly all of C and all of assembler laid clear before me, all at once. It was a beautiful thing.
I was reminded about this while reading this post from HN. It inspired me to try explaining pointers from the opposite direction. Instead of trying to teach pointers via C syntax, let me try to start with pointers outside of programming, then discuss them in relation to C and PHP.
I was reminded about this while reading this post from HN. It inspired me to try explaining pointers from the opposite direction. Instead of trying to teach pointers via C syntax, let me try to start with pointers outside of programming, then discuss them in relation to C and PHP.
Subscribe to:
Posts (Atom)