Re:Ask HN: Favorite pointer tricks in C?
by philwelch on Saturday November 20, 2010 @10:44PM
(#1926228)
This is a fantastic way to show younger or beginning programmers to think beyond what the code is supposed to denote and consider how it works in reality--in other words, the hacker's perspective. A naive programmer takes array[index] at face value. The hacker gets the idea that array[index] is just *(array + index) deeply enough to make a perverse joke out of it.
[ Parent
| on HN ]
There are no comments on this comment yet.