News for hackers. Stuff that matters.
Re:Eclipse launches new language to cut down Java boilerplat... by viraptor on Saturday November 05, 2011 @09:33AM (#3199710)
I'm surprised how is that even possible? You can probably translate every Java file, line-by-line into Scala. Then remove the redundant type declarations and you're already shorter. Then you can actually rewrite it to something less imperative and still shorter.

Do you have any real examples of longer Scala code? I couldn't find any.

Re:Eclipse launches new language to cut down Java boilerplat... by viraptor on Saturday November 05, 2011 @01:50PM (#3200366)
Well downvoting instead of providing an example to the claim is a bit cheap...
Re:Eclipse launches new language to cut down Java boilerplat... by radu_floricica on Saturday November 05, 2011 @09:02PM (#3201448)
As I didn't delve into scala I can't really offer examples. But this was the impression I was left with when reading code samples 2-3 years ago. I think it was collections-related? I know it doesn't make much sense, and I do intend to revisit scala sometimes, but this is the impression me, a novelty-seeking programmer was left with when researching jvm languages.