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

“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.”

Martin Odersky, Programming in Scala
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 Programming in Scala by Martin Odersky
1,663 ratings, average rating, 100 reviews

Browse By Tag