3 ms·
Scala can be incredibly concise; I'm not sure where you got the "verbose" impression. Possibly tutorials that transliterated from Java? (One of Scala's strengt
by crux_ 16y ago
Scala can be incredibly concise; I'm not sure where you got the "verbose" impression. Possibly tutorials that transliterated from Java?
(One of Scala's strengths, and weaknesses, is its flexibility: You can write Haskell-like code in Scala, Java-like code in Scala, or even something Perlish if you prefer...)
- henning 16y agoalthough Scala has local type inference, you see far more type declarations than you would in ML or Haskell. if you have a lot of one-line functions (which might be 5-15 in Java, say), the type decls become a significant fraction of characters typed. even with that, on the merits Scala is one of the best languages out there in my mind.