Mark Gilbert's Blog

Science and technology, served light and fluffy.

Definitely not the weak LINQ

At TechEd 2007 this past June, I got my first real taste of LINQ, and was just blown away.  In late August, Don Demsek did a 2-part episode on “LINQ to XML” on DNR TV, and it shows off a lot of what I saw in June – but of course, he knew what he was doing, so it’s a lot more impressive:

*) Part 1: http://dnrtv.com/default.aspx?showID=80
*)
Part 2: http://dnrtv.com/default.aspx?showID=81

One of the most interesting features about the XML support in VB9 are the “XML literals”.  Don makes the point that this is only available in VB – the C# guys don’t get this one (at least not yet).  After being a VB-guy for years, and watching the C# devs get to play with the new toys first, this is a refreshing change.  If it goes the way that some of the other C# capabilities have (XML commenting, a true ternary operator, etc.) and becomes popular enough, I’m sure they’ll migrate it over.

Powered by Qumana

Advertisements

September 25, 2007 - Posted by | Visual Studio/.NET

1 Comment

  1. Don’t hold your breath for XML literals in C#. Anders is quite insistant on keeping it out at this point. The key thing to keep in mind is that XML may be the defacto standard for exchanging data now, but will it still be that way 5-10 years from now? If they go ahead and support XML Literals, what will they do when JSON takes over? (sarcasm there… a bit). Additionally, since they are already using the angle brackets for generics, it will be tricky to disambiguate them at this point.

    Comment by Jim Wooley | September 25, 2007


Sorry, the comment form is closed at this time.

%d bloggers like this: