Programming Scala

Errata for Programming Scala

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
PDF
Page 8
Installing Scala

What is the Scala version is described in the Book, is it really 2.7.5? “The examples used in this book were written and compiled using Scala version 2.7.5.final, the latest release at the time of this writing, and “nightly builds” of Scala version 2.8.0, which may be finalized by the time you read this.” Excerpt From: Dean Wampler and Alex Payne. “Programming Scala.” iBooks.

Note from the Author or Editor:
This is a paragraph from the first edition, not the second edition.

Alex  Jun 22, 2014 
PDF
Page 46
Code Example

On page 46, line 5 (excluding white spaces) of the formatted code example should be p.age and not p.lastName

Note from the Author or Editor:
Correct. It should be "p.age". Copy, paste error...

Ajeya Vempati  Jun 01, 2014 
PDF
Page 50
5th Paragraph

In the section, "Methods with Multiple Argument Lists", in page 51, the author starts the last paragraph with "The third advantage ...". Am I missing another advantage #2? I am assuming advantage #1 is being able to use the 'syntactic sugar' advantage of being able to use '{}' vs '()'.

Note from the Author or Editor:
Yes, no explicit "second" advantage is mentioned. I've "renumbered" them to have a total of 3, not 4.

Anonymous  Jun 01, 2014 
PDF
Page 55
3rd Paragraph

The last sentence in paragraph 3 reads as "Fortunately, Java 8 finally adds clojures to Java.". I think, this is what the author meant "Fortunately, Java 8 finally adds closures to Java."

Note from the Author or Editor:
Doh! Yes, "closures" is the correct work.

Anonymous  Jun 01, 2014 
PDF
Page 132
Result of code snippet

This string "list double" is in result of code snippet page 132. But this string in not in code. It is copy past error.

Note from the Author or Editor:
Correct. Will fix in final version.

Andrew Rochev  Jul 23, 2014