3 ms·
Nope, very different. Depending on whether the expression is on an Enumerable or a Queryable, the compiler generates an anonymous function or an AST. That is, y
by jeswin 1y ago
Nope, very different. Depending on whether the expression is on an Enumerable or a Queryable, the compiler generates an anonymous function or an AST. That is, you can get "code as data" as in say Lisp; and allows expressions to be converted to say SQL based on the backend.
- pjmlp 1y agoYou can do exactly the same with Smalltalk metaclasses and reflection. However I do conceed most developers will only see them for the first time in .NET languages.