Errata

Clean Code Cookbook

Errata for Clean Code Cookbook

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
Page Page 337
code block

delete x; // No error
// you can delete undefinedVariable

is more clear than

delete x; // No error you can delete undefinedVariable

Maximiliano Contieri  Jun 23, 2024 
Printed, ePub, O'Reilly learning platform
Page Page 345
first code example

array[index]++

instead of:

array[i]++

Maximiliano Contieri
 
Jun 23, 2024 
Page 22.2
2nd code snippet

// object creation and raise the correct instance

instead of:

// object creation and raise the incorrect instance



Maximiliano Contieri  Jun 23, 2024 
Printed, ePub, O'Reilly learning platform
Page 27
code

typo

assertNoFriendofMylsef

should be

assertNoFriendOfMyself

Maximiliano Contieri
 
Dec 24, 2023 
Printed
Page 165
diagram

The graphic 12-1 is about loans

one of the boxes reads "Load"- it should be "Loan"

Maximiliano Contieri
 
Jan 20, 2024