August 2020
Beginner to intermediate
653 pages
16h 55m
English
One challenge that I have glossed over with respect to pointers is the inherent danger in their use. The map that holds all of the artifact objects must outlive all uses of artifact pointers in the program. So far, this has not been a problem, but as the program grows in size and complexity, the bookkeeping involved may obscure how pointers are used. So let’s explore a slight change to the program to ensure that no matter how the program evolves, all the pointers will be safe to use. This Exploration takes a closer look at pointers, their problems, and how to avoid them.