3 ms·
These libraries miss the point of linq. Yes it provides a nifty syntax for munging lists, but Real C# LINQ provides that munge as a abstract syntax tree which c
by macca321 7y ago
These libraries miss the point of linq. Yes it provides a nifty syntax for munging lists, but Real C# LINQ provides that munge as a abstract syntax tree which can be interpreted before executing it.
This means it can rewrite the native language query, and say, turn it into a SQL or graphql query, or a stream filter, or check against cached data or all kinds of clever things.
- flamtap 7y agoIt does seem to miss the "Query" part of "Language INtegrated Query". Though the methods are convenient in any case. One of the most mind-blowing moments I can remember in my career is when I realized just how powerful the tandem of LINQ and IQueryable was. Now, writing your own LINQ provider is no walk in the park, but is a really satisfying project and worth doing once, if only to get a deeper understanding of what's going on with expression trees and the inner workings LINQ. It's almost like a language within a language.