await or ayield

30 October 2010

I just watched Anders Hejlsberg’s PDC presentation “The Future of C# and VB”, which was mostly on the asynchronous programming extensions coming in the next version. It’s pretty powerful stuff and I wish I had it now, perhaps the CTP is good enough.

This stuff is as exciting as LINQ when it came out and as much a game changer for developers.

The new async capability really simplifies the hell hole of asynchronous programming with two new keywords: async and await. Watching the presentation, I wondered why they chose the keyword await and not ayield or just the existing keyword yeild. The feature is very much like the C# keyword yield in how your code flows and it’s relationship to IEnumerable processing.

Kenny

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: