Errata

Cloud Native Go

Errata for Cloud Native Go, Second Edition

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 48
In "static typing"

there is a coding example which should demonstrate how typos impact difficult to detect mistakes. But actually the example is a correct program. I did not see the type referred to in the text and I even run the example in the console. The software is correct not wrong. The example in the book is this:

my_variable = 0

while my_variable < 10:
my_variable = my_variable + 1 # Typo! Infinite loop!

That is *not* an infinite loop.

Note from the Author or Editor:
The error in this code was apparently corrected in the editorial process. It should read something along the lines of:

my_variable = 0

while my_variable < 10:
my_varaible = my_variable + 1 # Typo! Infinite loop!

Matthias Horst  Nov 24, 2024