In the process of writing a book, you read over everything a few hundred times, to make sure there are no errors. In the process of reading over everything a few hundred times, you become conditioned to the point that you can't see any errors anyway. You can't catch everything. Below is a list of known errors from the 1st edition of Learning to Program. If you find any additional errors in the book, please send them my way.
Page 7: Figure 1.1 and Figure 1.2 reference "puppybook.js" (
In the final days before the book went to the printer, I went through every code example and every figure, replacing "puppy" with "kitten". I thought I got them all, but I missed these two.
Page 121: In the section called "
(?:Groups)", there is a sentence that begins with "Let's you have a dog named fifi,...". This should read "Let's say you have a dog named fifi,..." (emphasis added). I may have called the project Kittenbook, but I didn't give up on dogs completely :)