Martin Odersky
More books by Martin Odersky…
“In the absence of any explicit return statement, a Scala method returns the last value computed by the method.”
― Programming in Scala Fifth Edition: Updated for Scala 3.0
― Programming in Scala Fifth Edition: Updated for Scala 3.0
“You may be wondering why you can't access the elements of a tuple like the elements of a list, for example, with "pair(0)". The reason is that a list's apply method always returns the same type, but each element of a tuple may be a different type: _1 can have one result type, _2 another, and so on.”
― Programming in Scala
― Programming in Scala
“The argument goes that since such type systems can only detect simple errors, whereas unit tests provide more extensive coverage, why bother with static types at all?”
― Programming in Scala Fifth Edition: Updated for Scala 3.0
― Programming in Scala Fifth Edition: Updated for Scala 3.0
Topics Mentioning This Author
| topics | posts | views | last activity | |
|---|---|---|---|---|
| Java Programming: 2020 April/May Programming in Scala | 1 | 3 | Apr 03, 2020 07:29AM |
Is this you? Let us know. If not, help out and invite Martin to Goodreads.

















