January 2013
Intermediate to advanced
384 pages
9h 54m
English
In This Chapter
This chapter contains something different from all the other chapters in this book: an idiom. In Chapter 6, I describe three categories of patterns based on the scope of the problems they tackle:
An idiom gives you insight into how to overcome limitations in a particular programming language, essentially telling you “tricks” for making the most of a language. It also can help you understand how to use the language and read programs written in it.
This chapter describes one idiom that I've found to be useful in many situations: Counted Pointer. This idiom helps you program in the C++ language, but the concept is applicable in other situations, too.
Read now
Unlock full access