Re:What features of Java have been dropped in Scala?
by jules on Tuesday August 09, 2011 @11:43AM
(#2864415)
How does Scala figure out the precedence on that? And in general what does `word1 word2 ... wordN` mean?
[ Parent
| on HN ]
Re:What features of Java have been dropped in Scala?
by jmreardon on Tuesday August 09, 2011 @12:11PM
(#2864534)
It goes something like:
a b c d e f g
becomes: a.b(c).d(e).f(g)
Re:What features of Java have been dropped in Scala?
by tincholio on Wednesday August 10, 2011 @01:32AM
(#2866898)
I've never tried Scala so I'm speaking from ignorance here, but that looks awfully hard to parse for a human reader.
I much prefer Haskell's:
zipWith (\x y-> x ++ " : " ++ show y) names ages