How the Patterns Are OrganizedIn this book, to aid in identifying and classifying the following bug patterns, we'll summarize each description using the following form (borrowing some terminology from the medical establishment):
Along with each pattern, I'll also discuss broader programming principles and language design issues-such as language expressiveness, static checking, class design, and so on-that may either contribute to or help minimize the occurrence of the pattern. Code samples will be included with each pattern to help the illuminate the problem and ways to correct it. |