Errata

The Productive Programmer

Errata for The Productive Programmer

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 140
3rd paragraph

"The Law of Demeter was developed at Northwestern University" s/b "...Northeastern University"

David Gorsline  May 10, 2012 
Printed
Page 23
1st paragraph

jClip should be iClip. The URL has also changed (though the original works): http://www.irradiatedsoftware.com/iclip/

Matthew Shvetsoff  Dec 04, 2011 
Printed
Page 53
last paragraph

wget command contains extraneous characters,a~@~S in several places.

Note from the Author or Editor:
The command at the bottom of the page reads:
wget --mirror ?~@~Sw 2 --html-extension ?~@~S-convert-links
?~@~SP c:\wget_files\example1

It should be:

wget --mirror --w 2 --html-extension --convert-links -P c:\wget_files\example1

Anonymous  Jan 21, 2009  Jun 01, 2009
Printed
Page 141
Second section of example code.

In the following snippet of code the class keyword is missing.

public PersonDemo() {
Job job = new Job("Safety Engineer", 50000.00);
Person homer = new Person("Homer", job);
homer.changeJobPositionTo("Janitor");
}

It should be:

public class PersonDemo() {
Job job = new Job("Safety Engineer", 50000.00);
Person homer = new Person("Homer", job);
homer.changeJobPositionTo("Janitor");
}

Note from the Author or Editor:
The errata lists the correct change: the word "class" should be inserted between "public" and "PersonDemo".

Anonymous  Nov 22, 2008  Jun 01, 2009
Printed
Page 139
4th paragraph

When discussing the problem of the Collection.remove() method, the code example uses a 0:

list.remove(0);

But the description talks about removing 2.

Note from the Author or Editor:
On page 139, the sentences:
In this case, Java autoboxes the integer 2 into an Integer object, looks in the list to see if there is an element with the content of 2, fails to find one, and doesn?t remove anything from the list.

The two "2" characters should change to "0" (zero, not O).

Anonymous  Aug 20, 2008  Jun 01, 2009
Printed
Page 26
1st paragraph

"For Windows, Command Prompt Explorer bar is a great open source utility..."

The said utility does not work on Windows Vista. Also, on the following page: "In both Windows and Mac OS X, you can drag a directory into a command-line view to copy the path". That technique also does not work in Vista.

Also, all of the powertoys mentioned in that chapter are not supported (or installable) on Vista.

Note from the Author or Editor:
The references to "Windows" in this entire section should exclude Windows Vista.

Anonymous  Aug 15, 2008 
Printed
Page 194
5th para

... the pipe command (the / character).

the slash glyph (/) is used instead of the pipe (|). Oops.

Note from the Author or Editor:
This needs to be fixed. The sentence on page 194 (mid-page) that starts "The concept worth noticing here is the pipe command (the | character)." should have a "|" character, not a "/" character. Interestingly, when I past it from the PDF, the character pastes correctly, but it's clearly a forward slash in the text.

Anonymous  Aug 14, 2008  Jun 01, 2009
4.3 / Page 54
End of Section

It's section 4.3, right at the end you give the URL for cURL at http://www.curl.org...which is not the correct URL. That's some web designers home page. The ACTUAL site is: http://curl.haxx.se/

I'm reading it online on Safari, so I don't know the page number, or if this error also appears in the print edition. My subscription is through school, and the 'print friendly view' is not enabled for this title, so I can't see if it is repeated there, or just an error in the html version.

Note from the Author or Editor:
The URL should be changed to http://curl.haxx.se/.

Anonymous  Jul 25, 2008  Jun 01, 2009
Printed
Page 23
6th para

"the first part nof" -> the first part of"

Anonymous  Jul 25, 2008  Aug 01, 2008
Other Digital Version
xiii

(xiii) Acknowledgment was added for Greg Ostravich.

Anonymous    Aug 01, 2008