Re:Why Java folks should stop looking down on C#: difference...
by quanticle on Sunday May 22, 2011 @04:14PM
(#2574102)
More to the point, C# has integrated an excellent map-reduce framework in the guise of (P)LINQ. Java still doesn't have anything analogous to that, nor does it plan to, if the latest roadmaps are any guide.
[ Parent
| on HN ]
Re:Why Java folks should stop looking down on C#: difference...
by squidsoup on Sunday May 22, 2011 @05:13PM
(#2574238)
I'm not certain that Java really needs this. Developers that wan't a more functional style should consider making a transition to Scala or Clojure.
Scala can evolve at a much faster pace than Java as well, given that the core language is tiny and most of the language constructs are implemented as libraries.
Re:Why Java folks should stop looking down on C#: difference...
by StrawberryFrog on Sunday May 22, 2011 @05:21PM
(#2574252)
I'm not certain that Java really needs this
We weren't certain that C# needed it. Until we tried it.
Re:Why Java folks should stop looking down on C#: difference...
by runevault on Sunday May 22, 2011 @10:05PM
(#2574789)
He didn't say they weren't useful, just that Java the Language doesn't need it, due to the fact other languages that have interoperability with Java on the JVM have these features already. .NET isn't as language rich as the JVM currently unless I missed some major changes.
Re:Why Java folks should stop looking down on C#: difference...
by StrawberryFrog on Monday May 23, 2011 @06:56AM
(#2575550)
I get that you can call across to another language that has more functional features. But that's not the same as having little bits of it right there. e.g. when you want to find the latest item in a list, instead of a loop, you do:
return purchaseList.OrderBy(pur => pur.Date).FirstOrDefault();
and carry on. It's great. You don't tend to have that fine granularity when working across languages.I don't know if you missed F# or not, but if you want a fully functional language in the ML / Ocaml lineage on .Net, you can write some code in that and interoperate.