Hell Oh Entropy!

Life, Code and everything in between

Pointers are haard...

Posted: Aug 26, 2008, 13:19

This might sound strange but we have only recently, at my insistence started using pointers in our C++ code at work. The reason cited was that pointers are difficult for the average dev to understand. My experience in watching people struggling with them in the past few weeks led me to realize why this is so.

People look for "rules" when they are using pointers, like "if this is the case then use &" and "if that is the case then use *" instead of actually understanding how it would work.