May 02, 2001

"Explain to a five-year-old the difference between pointers and references."
Hey, I could never be easily beaten off. Let me try first.
"Imagine that in the next house there lives two girls: Rita and Barbie. Rita has red hair and Barbie has brown hair. Rita has a doll called Rossie, and Barbie has a doll called Buffie. So what is the name of the doll belongs to the girl with the red hair? Yup, Rossie. How do you know that? Because you has referenced the hair into the girl, and ummm. What? Yeah, I know you want that candy, but please wait until I finished my explanation about the difference between pointer and references. So, let's start again, where were we then. Oops, don't cry now. OK, we'll go to buy that candy, and then I'll tell you a story about some planets with some moons of which we can derefer ... OK, OK, we go now."
I gave up.