(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“Defining a singleton object doesn't define a type (at the Scala level of abstraction). Given just a definition of object ChecksumAccumulator, you can't make a variable of type ChecksumAccumulator. Rather, the type named ChecksumAccumulator is defined by the singleton object's companion class.”

Martin Odersky, Programming in Scala Fifth Edition: Updated for Scala 3.0
Read more quotes from Martin Odersky


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Programming in Scala Fifth Edition: Updated for Scala 3.0 Programming in Scala Fifth Edition: Updated for Scala 3.0 by Martin Odersky
1,663 ratings, average rating, 100 reviews
Open Preview

Browse By Tag