The Artima Developer Community


Errata for Programming in Scala
Chapter 28: Object Equality
Return to errata index.

Page 554 (PDF page 579):
(Section 28.2)

Says: For p it is Point, whereas for pAnon it is an anonymous class of
Point.

Should say: For p it is Point, whereas for pAnon it is an anonymous
subclass of Point.

FIXED
Page 561 (PDF page 586):
l.-8 all, Branch[_] is a technically a type
-->  all, Branch[_] is   technically a type

FIXED
Page 567 (PDF page 592):
advice about taking elements of array into account when calculating hash
code seems to contradict earlier advice about not basing a hash code on
mutables (done indirectly here)

THAT'S A GOOD POINT. MAYBE WORTH A FOOTNOTE. WILL CONSIDER THIS FOR A
FUTURE EDITION.

Page number: Book type: Paperback book PDF eBook
Book version: (Or build date. Found on back of title page.)
Your feedback:
Your name: (optional)
Your email address: (optional) (will not be published)

Copyright © 2021 Artima, Inc. All rights reserved.