11 ms·
cough LINQ [1] cough cough Ur/Web [2] cough Both these languages have strongly-typed queries. Database queries are not "inherently runtime". If you don't kn
by colanderman 14y ago
cough LINQ [1] cough
cough Ur/Web [2] cough
Both these languages have strongly-typed queries. Database queries are not "inherently runtime".
If you don't know what type of data is stored in your database, your code is probably incorrect.
[1] http://en.wikipedia.org/wiki/Language_Integrated_Query http://en.wikipedia.org/wiki/Language_Integrated_Query
[2] http://www.impredicative.com/ur/ http://www.impredicative.com/ur/
- icebraining 14y ago"Strongly typed" != "Statically typed"
- gambler 14y agoThe part of LINQ you refer to works by running a code generator against database schema before writing any code. In other words, it is not a language feature (you can generate code in any language), it is highly complex and it is a maintenance liability. Generally, any kind of code generation is a crutch. Ability to dynamically modify objects removes the need for it. The way to go in .NET is the opposite direction: Entity Framework with Code First approach.