Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Page 3 First two code fragments below "Is Smaller Always Better?" |
The hard to read assert on the page is given as: |
Kevin Cozens | Apr 04, 2012 | |
PDF, Other Digital Version | Page 27 2nd paragraph, example "SpaceLeft()" |
"HasSpaceLeft" is still ambigous. |
Christoph_P | Nov 30, 2011 |
ePub | Page 37 United States |
Not so much a question as an observation: my motivation for using the ternary operator is to make it crystal clear that the purpose of these lines of code is to assign a value to a variable. This can be obscured by the clutter of an if-else block. |
Bob Stine | Sep 13, 2013 |
PDF, Other Digital Version | Page 137 Example under heading "The Infamous goto" |
I understand this example exists to demonstrate an innocent use of goto, but couldn't/shouldn't that goto be elimininated altogether by switching the check on the IF from equal to not equal, and including the code block, rather than jumping around it? |
Christoph_P | Dec 07, 2011 |
Other Digital Version | 140 First code example after heading "Removing Nesting Inside Loops" |
There is a ">" in this line: |
Christoph_P | Dec 07, 2011 |
177 TrailingBucketCounter class |
It looks like the variable last_update_time is used uninitialized, i.e. the first time Update() is called it will do a shift with a calculation based on an uninitialized last_update_time. |
Anonymous | Jan 17, 2012 |