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

“Although the Scala compiler will correctly infer the result types of the add and checksum methods shown in the previous example, readers of the code will also need to mentally infer the result types by studying the bodies of the methods. As a result it is often better to explicitly provide the result types of public methods declared in a class even when the compiler would infer it for you.”

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