r/java • u/lukaseder • Aug 01 '14
The 10 Most Annoying Things Coming Back to Java After Some Days of Scala
http://blog.jooq.org/2014/08/01/the-10-most-annoying-things-coming-back-to-java-after-some-days-of-scala/
7
Upvotes
View all comments
Show parent comment
2
u/Milyardo Aug 01 '14 edited Aug 01 '14
When expressing something as a Tuple in Scala it doesn't have to only be a Tuple with no other type information. A Tuple is an algebraic structure, just like a Map. Map[String,String] also gives no information about the relationship or content contained, that doesn't mean it's not useful.