In this book, you see many templatelike, general-purpose program
patternssometimes called programming
idiomsthat you can fill in to suit your own specific purpose. In these
patterns, each place to be filled in is identified by a description of the
item to be inserted, such as this phrase
.
When you fill in a pattern, replacing descriptions with specific instances of the general categories described, you are said to instantiate the pattern.