small medium large xlarge

The latest version of the book is B11.0, released about 1 month ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: B11.0 (04-Jul-19)
#85502
PDF page: 24

in an fateful termination -> a fateful--Paolo

  • Reported in: B11.0 (04-Jul-19)
#85503
PDF page: 26

preemptive strike agains potential errors -> against potential--Paolo

  • Reported in: B11.0 (10-Jul-19)
#85548
PDF page: 67

The withIndex() is but one--Paolo

  • Reported in: B11.0 (10-Jul-19)
#85549
PDF page: 67

The withIndex() is but one--Paolo

  • Reported in: B11.0 (10-Jul-19)
#85550
PDF page: 67

The withIndex() is but one--Paolo

  • Reported in: B11.0 (28-Jun-19)
#85488
PDF page: 68
The paragraph starting with "A word of caution...", has got the collection and reference the wrong way around - the collection can be changed but the ...more...
  • Reported in: B11.0 (10-Jul-19)
#85551
PDF page: 70
"When used on the left-hand side, the index operator [] will invoke the set() method of Array<T>". -> to me (non-native speaker) this sentence in not...more...
  • Reported in: B11.0 (11-Jul-19)
#85555
PDF page: 84

String? will becomeS String--Paolo Pilloni

  • Reported in: B11.0 (12-Jul-19)
#85559
PDF page: 96

Kotlin permits contravariance
both at declarationS-site and use-site. -> declaration-site--Paolo

  • Reported in: B11.0 (12-Jul-19)
#85560
PDF page: 96

an object of a GENETIC object of derived type--Paolo

  • Reported in: B11.0 (13-Jul-19)
#85567
PDF page: 104
fun <T> findFirst(books: List<Book>, ofClass: Class<T>): T { The first left angular bracket has a different color than right one (fun <T>). Pretty ...more...
  • Reported in: B11.0 (13-Jul-19)
#85568
PDF page: 105
Maybe this signature inline fun <reified T> findFirst(books: List<Book>): T could be more restrictive with a constraint on the type parameter <reif...more...
  • Reported in: B11.0 (13-Jul-19)
#85569
PDF page: 105
It seems to that this sentence is no complete "Keep your eyes open for functions that use reified type parameters as you work along with Kotlin co...more...
  • Reported in: B11.0 (13-Jul-19)
#85570
PDF page: 114
fun precision(): Int = throw RuntimeException("Not implemented yet") Maybe is more appropriate in this case to use the TODO top level function decl...more...
  • Reported in: B11.0 (19-Jul-19)
#85590
PDF page: 147

for any of the derived class ---> classes--Paolo Pilloni

  • Reported in: B11.0 (20-Jul-19)
#85592
PDF page: 158
I'd also mention that one additional pro of the approach presented in "Delegating to a Parameter" is also testability. The Manager class can be easily...more...
  • Reported in: B11.0 (20-Jul-19)
#85593
PDF page: 164

a delegate that filter out ---> filters out--Paolo Pilloni

  • Reported in: B11.0 (22-Jul-19)
#85598
PDF page: 192

if (it == 2) { return } //ERROR, return is not allowed here // ---> the final "//" in the comment is not necessary--Paolo

  • Reported in: B11.0 (22-Jul-19)
#85599
PDF page: 193

line in the the overall context ---> "the" is repeated --Paolo Pilloni

  • Reported in: B9.0 (26-Apr-19)
#84980
PDF page: 193
In the ePub version of the book the line numbers printed are out of sync with the lines printed in the non-local return example. The line 5 reference ...more...
  • Reported in: B11.0 (29-Jun-19)
#85492
PDF page: 326
Is it the correct approach to have a SupervisorJob declared as the context of the coroutine obtained with the launch builder when discussing default c...more...
  • Reported in: B11.0 (30-Jun-19)
#85495
PDF page: 373

"getAirportStatus calls getAirportData asynchrously" { -> asynchronously--Paolo

  • Reported in: B11.0 (29-Jun-19)
#85493
PDF page: 425

"On the receiving end, the parameters
for the lambda expressions are backed my functional interfaces in Java" -> backed by--Paolo