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.
[ Parent
| on HN ]
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.