top | item 3849093

(no title)

web_chops | 14 years ago

Actually, the new features introduced in C# increases developer productivity quite a bit. More importantly they increase the readability of code by cutting down on the repetitive stuff. Once some one uses LINQ, lambdas and dynamics its hard to go back.

discuss

order

edwinnathaniel|14 years ago

Can you explain how they can cut down lots of repetitive stuff?

Not to knock you down but my experience with Java is that libraries typically help a lot as opposed to syntax.

mquander|14 years ago

Go look at any documentation or discussion of any non-Java language, and see their examples of using their sequence abstractions, or generators (yield), or first-class functions. Those are not ideas which are unique to C#.

If you just want to see a piece of code in C# that would have to be written totally differently in Java to be readable (unless you use some quite abstract third-party libraries like Guava to help) I picked one of my Stack Overflow answers at random: http://stackoverflow.com/questions/2966592/how-to-refactor-t...