
On 01/17/2012 04:35 PM, Thorsten Ottosen wrote:
Den 13-01-2012 17:43, Roland Bock skrev:
On 01/12/2012 03:34 PM, Thorsten Ottosen wrote:
So you get a compile error if a column is required, but not specified?
-Thorsten
Right. That's the whole idea of what we created: Let the compiler check as much as possible if our code is correct. This applies to insert statements, to where expressions, to retrieved values (the compiler knows which value (name, type) is returned in each column), etc.
I think that should be possible too, but I wonder if the difference between an runtime and compile time error is a major problem here.
-Thorsten
Compile time checks reduce the number of unit tests you have to write. And if this doesn't increase compile time too much, it improves the overall database programming experience :-)