Chapter 18. Conclusion

The LINQ project started with the observation that bringing queries into a modern programming language would simplify the task of programming. A deeper examination of the problem of integration revealed a few key differences between the world of queries and the pre-LINQ mainstream programming languages:

• Queries in strings are begging to be integrated into the host language. A developer is deprived of programming language benefits such as compile-time type checking, IDE support for autocompletion, unified syntax, and common object model if queries remain in strings.

• Queries are declarative, whereas much of the code in a language such as C# is imperative. A SQL query defines the set without specifying the minute details ...

Get Essential LINQ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.