Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java 6 language compared with C# 3.0 language

There exists a very good talk about C# vs. Java where H.Mössenböck compares the two languages. That's from 2003, C# 2.0 compared with Java 1.5.

Can be found in German here: http://dotnet.jku.at/

What good resources exist, where actual language versions are compared? Or maybe post a comparison right here?

My interests are:

Advantages/Disadvantages of the Java 6 language (features, syntactic sugar, ..) compared with C# 3.0 language.

Current IDE, VM, CLR and current Framework capabilities would exceed this question...

like image 609
Peter Gfader Avatar asked Sep 15 '26 15:09

Peter Gfader


1 Answers

Java 6 didn't have any language improvements over Java 5 - where as C# 3 had a ton of new features. Many, but not all, of the C# 3 improvements can still be used when targeting .NET 2.0.

Java 7 has had a lot of proposals for new language features, but it's not clear which features will actually get in there. C# 4 will have significant new features, but it'll be a more incremental change than the one between 2 and 3.

like image 174
Jon Skeet Avatar answered Sep 18 '26 03:09

Jon Skeet



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!