You are here |
www.brianbondy.com | ||
| | | |
blog.nelhage.com
|
|
| | | | If you're familiar with nearly any mainstream programming language, and I asked you to draw a diagram of an array, the array indices, and the array elements, odds are good you'd produce a diagram something like this: In this post, I want to persuade you to replace that image, or, at least, to augment it with an alternate view on the world. I want to argue that, rather than numbering elements of an array, it makes just as much sense, and in many cases more, to number the spaces between elements: | |
| | | |
denniskubes.com
|
|
| | | | ||
| | | |
chaosinmotion.com
|
|
| | | | So in Objective C or Objective C++, if you pass in a pointer to something not a basic type (like 'int' or 'double' or 'void'), the Objective C compiler thinks it's an Objective C class. It needs to know this so it can perform automatic reference counting. If you need to pass in a pointer... | |
| | | |
www.bigmessowires.com
|
|
| |