Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jules
on Aug 9, 2011
|
parent
|
context
|
favorite
| on:
What features of Java have been dropped in Scala?
How does Scala figure out the precedence on that? And in general what does `word1 word2 ... wordN` mean?
jmreardon
on Aug 9, 2011
[–]
It goes something like:
a b c d e f g
becomes:
a.b(c).d(e).f(g)
tincholio
on Aug 10, 2011
|
parent
[–]
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
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: