“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.”
―
Programming in Scala Fifth Edition: Updated for Scala 3.0
Share this quote:
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
by
Martin Odersky1,663 ratings, average rating, 100 reviews
Open Preview
Browse By Tag
- love (101345)
- life (79362)
- inspirational (75842)
- humor (44338)
- philosophy (30964)
- inspirational-quotes (28889)
- god (26867)
- truth (24739)
- wisdom (24617)
- romance (24350)
- poetry (23293)
- life-lessons (22586)
- quotes (21011)
- death (20532)
- travel (20109)
- happiness (19002)
- hope (18526)
- faith (18384)
- inspiration (17297)
- spirituality (15702)
- relationships (15530)
- religion (15375)
- motivational (15323)
- life-quotes (15301)
- love-quotes (15138)
- writing (14938)
- success (14185)
- motivation (13177)
- time (12864)
- motivational-quotes (12154)
