English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
"What's for dinner tonight?" "Python." "Oh, yum!" – J.R. Jun 12 '12 at 22:50
up vote 15 down vote accepted

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.

share|improve this answer
One of my favourites is the Perl Cookbook published by O'Reilly and co-written by someone not unknown in these columns... – Andrew Leach Jun 12 '12 at 21:39
The point that is only implicit in the answer is that a cookbook does not try to be complete (like a reference manual), or to teach you the system or language (like a tutorial): it takes a number of particular problems or patterns which the author believes are common, and shows you how to solve those. It may not even explain the solutions (though it may). – Colin Fine Jun 12 '12 at 23:01
@ColinFine Thanks, I expanded my answer to address that point. – Gnawme Jun 13 '12 at 3:43

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.

share|improve this answer

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.
share|improve this answer

Cookbook is a short guide which could be used as a manual while doing the actual work.

share|improve this answer
No it's not. It's a book of recipe analogues. That does not determine its length. – Matt E. Эллен Dec 3 '13 at 9:52

protected by RegDwigнt Dec 3 '13 at 12:48

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.