Re:“ZLinq”, a Zero-Allocation LINQ Library for .NET
by CharlieDigital on Tuesday May 20, 2025 @11:22PM
(#44047997)
Expression trees are highly underrated.
Compare C# ORMs to JS/TS for example. In C#, it is possible to use expression trees to build queries. In TS, the only options are as strings or using structural representation of the trees.
Compare C# ORMs to JS/TS for example. In C#, it is possible to use expression trees to build queries. In TS, the only options are as strings or using structural representation of the trees.
Compare this:
To the equivalent in Prisma (structural representation of the tree): Yikes! Look how dicey that gets with even a basic query!