AtomicScala / atomic-scala-corrections

Find out about or report corrections for the book "Atomic Scala"
http://www.atomicscala.com
6 stars 2 forks source link

Instance of an object #40

Open sidnt opened 8 years ago

sidnt commented 8 years ago

On page 252, it is written about about Lines 70-71 that

"This technique creates a single instance of an object without creating a new named class just for that one usage."

I feel it should rather be: "This technique creates a single instance of a class without creating a name for it, just for that one usage." OR "This technique creates a single instance of an anonymous class without a name, just for that one usage."