Home Segments Index Top Previous Next

18: Mainline

To encourage you to develop a personal library of solutions to standard programming problems, this book introduces many useful, productivity-increasing, general-purpose, templatelike patterns—sometimes called idioms by experienced programmers—that you can fill in to achieve particular-purpose goals.

Idioms are introduced because learning to program involves more than learning to use programming-language primitives, just as learning to speak a human language involves more than learning to use vocabulary words.