By Developers, For Developers
PDF Pg | Paper Pg | Type | Description | Fixed on | Comments |
---|---|---|---|---|---|
6 | 6 | SUGGEST | “minutes” should be “seconds” | 2005-11-24 | |
6 | 6 | SUGGEST | missing “as” top of 2nd para | 2005-11-24 | |
10 | 10 | SUGGEST | Top of page, typo: “it’s source” should be “its source” | 2005-11-24 | |
12 | 12 | SUGGEST | 5th para, “you application’s” should be “your application’s.” | 2005-11-24 | |
16 | 16 | SUGGEST | First code example shouldn’t have largest at end | 2005-11-24 | |
17 | 17 | SUGGEST | Last paragraph, “edges occur when when”: remove extra “when” | 2005-11-24 | |
18 | 18 | SUGGEST | First paragraph, “the the” should be “to the” | 2005-11-24 | |
20 | 20 | SUGGEST | In the first line of the first paragraph the second “by” should be removed | 2005-11-24 | |
20 | 20 | SUGGEST | Assignment to max should be MIN_VALUE to reflect change on previous page. | 2005-11-24 | |
22 | 22 | SUGGEST | First bullet point should be “Set up”, not “Setup” | 2005-11-24 | |
23 | 23 | SUGGEST | First sentence in second paragraph should start “All of the following …” | 2005-11-24 | |
30 | 30 | SUGGEST | In the code sample: NULL should be null | 2005-11-24 | |
35 | 35 | SUGGEST | In line 6 of the second paragraph of section 3.7: “all you need do”, missing “to” | 2005-11-24 | |
40 | 40 | SUGGEST | “tan” should be “than” | 2005-11-24 | |
40 | 40 | SUGGEST | Expected value of “0” should be “9” in the data file, line 17 | 2005-11-24 | |
45 | 45 | SUGGEST | Initialization of “f” should be “filter” | 2005-11-24 | |
59 | 53 | SUGGEST | 2nd paragraph, “Stack” should be “MyStack” | 2005-11-24 | |
53 | 54 | SUGGEST | Last paragraph, line 3: “you need test” should be “you need to test” | 2005-11-24 | |
60 | 61 | SUGGEST | First line of exercise 2: Remove one “add” | 2005-11-24 | |
75 | 77 | SUGGEST | Order of expected, actual is reversed in the test for ex. 7 | 2005-11-24 | |
78 | 80 | SUGGEST | Added reference to AntHill | 2005-11-24 | |
83 | 85 | SUGGEST | Last paragraph, line 4: “would reasonable” should be “would be reasonable” | 2005-11-24 | |
101 | 88 | SUGGEST | 5th paragraph, “mislead” should be “misled” | 2005-11-24 | |
91 | 93 | SUGGEST | 3rd paragraph, line 4: Replace “is” by “it” | 2005-11-24 | |
92 | 94 | SUGGEST | Last paragraph before section 8.3, line 9: Replace “too” by “two” | 2005-11-24 | |
115 | 117 | SUGGEST | “int” types should be “double” in declaration of addCropMarks | 2005-11-24 | |
134 | 123 | SUGGEST | 3rd paragraph missing “be” in “there must a difference” | 2005-11-24 | |
61 | SUGGEST | Even in UTC, some days can be more than 24 hours. “Leap seconds” are added to keep UTC consistent with the motion of the earth. | 2007-07-31 | ||
76 | DEFER | I was doing exercize 7 on page 76 and found that the tests do not cover pause. In fact, I left pause unimplemented and the tests pass. I suggest adding | |||
title | OK | My copy of the book says “Sixth Printing” on the back of the title page, which would make it P.6. However, the website only goes up to P.4—I suggest that you bring it up to date :) | 2009-12-03 | ||
1 | SUGGEST | “prepared exclusively for Ren” misses the mark - I do not know Ren. | |||
29 | TYPO | …don’t want TO TO include that… | |||
53 | ERROR | In the description of the invariant for the MyStack class the authors write “However we manipulate the index variable next_index, one thing is supposed to be always true: (next_index >= 0 && next_index < stack.length).” The upper bound of this condition is off by one, the condition should be: (… && next_index <= stack.length). next_index is 0 when the stack is empty and is one larger than the index of the top element otherwise (its value could be used to represent the number of items on the stack). When the stack has 99 elements in it, next_index is 99. When the client pushes another element on to the stack, “stack[next_index] = aString;” puts the 100th value at index 99 and increments next_index to 100 (stack.length). This is a valid state for the stack to be in, and it should be allowed by the invariant. In this example, however, the authors’ invariant fails. The same correction should be made to implementation of the checkInvariant method in the text, as well as in the MyStack.java file in code on the web site. The following code sample illustrates the error: for (int i = 0; i < 100; ++i) { The code produces: | |||
33 | SUGGEST | says: “It is usually a good idea to start off a new project by always inheriting from your own custom base class instead of the JUnit class” This should be updated to the JUnit 4 best practice of using Page number is from printing 5 2006-03-20, but that’s not an option in the Version drop down. Surprised there hasn’t been a new edition that matches JUnit 4. |