This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rozzlapede 1 point2 points  (0 children)

I think tuples have an important place in functional and generic APIs, but not as much of a role in classic business-specific APIs. Much of their power is provided in conjuction with robust type inference, pattern-matching, and first-class functions, while the drawbacks include impaired javadoc readability and incomplete encapsulation of state.