• Welcome to Valhalla Legends Archive.
 

C# 3.0: Bittersweet

Started by MyndFyre, October 29, 2006, 01:32 AM

Previous topic - Next topic

MyndFyre

I'm excited to see that lambda expressions are part of the C# 3.0 syntax - the compiler infers anonymous methods from them.  I think that's pretty cool.  I also like that they're extending the property-based initlialization syntax available to attribute initialization to all classes.

What I don't like: implicit typing.  Strong typing has been a major and important feature of C#, and I think by permitting implicit typing, we're going to be encouraging programmer lazyness.  If I wanted to write:

var s = "Blah";

I could have been using JScript or JScript.NET.  It looks like we're starting do fall away from code elegance.

I also don't like the extensible classes pattern as another instance of where we might be falling away from elegance or maintainability.

I do like the query design pattern they're implementing.  Programmatic SQL-like code - very nifty!
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Insolence

QuoteI do like the query design pattern they're implementing.  Programmatic SQL-like code - very nifty!
I watched a video on Channel9(?) about that "no fuss" SQL stuff, looked very nifty indeed :)