3 ms·
Contrary to a language like C or C++, where the compiler produces machine language from the source and then goes out of the picture, I use C#. When you create
by scarface74 9y ago
Contrary to a language like C or C++, where the compiler produces machine language from the source and then goes out of the picture,
I use C#. When you create a Linq expression, you get type safety and it "compiles to" an expression tree that is converted to its runnable form at runtime -- in my case a Sql statement, a MongoQuery, or C# code. It really comes in handy. Theoretically I could change my backing Store from Mongo/C# driver to Sql Server/EF without changing any of the queries. I do this all of the time when unit testing, I substitute an in memory list for a database table and still get complete type safety.