Unlike dry reference manuals, Gaonkar uses a problem-solution-explanation triad. Consider a typical example from Chapter 7 (Programming Techniques):