Desmond File

Blog archive

LINQ Skeptic

Anyone who has spent more than a few hours in front of late-night TV has seen the unintentionally funny commercial for the Hair Club for Men. You know, the one where the company president proudly announces: "I'm not just the president, I'm also a client."

Well, Paul Kimmel, longtime enterprise application developer and author of the new book LINQ Unleashed for C# (Sams Publishing, 2008), has had a hair club moment of his own. Only in Kimmel's case, it's over the Language Integrated Query (LINQ) data access technology introduced as part of .NET Framework 3.5 and Visual Studio 2008.

Kimmel, you see, was more than a little skeptical about LINQ when he first heard of the technology. To his mind, LINQ couldn't fix what was already wrong with SQL, which he felt lacked the simplicity and consistency of natively object-oriented code. But when he set to work to write LINQ Unleashed for C# (in part, he said, to get a "continuing education"), something funny happened.

"I just decided to give LINQ a second look, and as I started to explore and use it, I realized it was a well-conceived extension of the architecture and tightly integrated," Kimmel said. "They really didn't just glom this on here. It was really an evolutionary progression of features and capabilities."

Today, Kimmel is using LINQ in a limited fashion in some of his enterprise development projects for Electronic Data Systems (EDS). But he expects that we'll all be seeing a lot of LINQ in the future. The benefits, he said, are just too great to ignore, especially when developers are struggling with so many different data access approaches.

"Once you know how to do a left join or how to use aggregation or something like that, it is pretty much the same, regardless of the technology you are hitting," he said. "That homogenization of knowledge, where I have to learn one set of grammar for all these different technologies, is a tremendous lever for what I need to learn to be productive in the enterprise."

Kimmel said it will be some time before LINQ gains widespread adoption. After all, the industry is still waiting for LINQ to Entities to emerge in its final form. But Kimmel thinks the technology could help attract developers to .NET.

"The LINQ technology has so many useful tools surrounding it that most developers are going to be interested, and it may be the thing that moves the VB6 guys to .NET," Kimmel said, noting: "Nothing is going to get the FoxPro folks out."

Are you a LINQ skeptic, and if so, why? E-mail me at mdesmond@reddevnews.com and let me know what you think is wrong -- or right -- about LINQ.

Posted by Michael Desmond on 07/31/2008


comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube