Meaning of "cookbook" in title of instructional book

I see many instructional books where the title of the book includes cookbook! What is the meaning of cookbook in this situation? Example: Python Testing Cookbook.

enter image description here


Well, what do cookbooks contain? Recipes!

What is a recipe?

recipe, n. : a set of instructions for making something

As the blurb on the cover of this book says, it contains recipes "for taking control of automated testing using powerful Python testing tools."

One of my favorite programming cookbooks, the C++ Cookbook, contains recipes for creating solutions to common, but time-consuming, tasks in C++.

As Colin Fine notes in his comment, a programming cookbook differs from a reference or tutorial in that it only contains recipes. Although some food cookbooks may attempt to be reference or tutorial (or both, such as [former Microsoft CTO] Nathan Myhrvold's massive and ambitious Modernist Cuisine), most content themselves with presenting recipes in specific cuisines.

Programming cookbooks tend to be even more specific in their scope.


A cookbook contains recipes that teach you how to cook specific dishes. Here it is used metaphorically to refer to books which contain instructions that teach you how to do other things.


Cookbook is a pretty popular title word in programming language books. It is a collection of collection of details of how to do a variety of things in that language (or with that tool, etc).

It is not:

  • A tutorial.
  • An in-depth treatment of a single specialized sub-topic.
  • A reference guide.