Why would you? No intellisense, no compiler safety net, diminished performance (in some cases). Even when you're sure you've got the right member, did you spell it right (and did you get the casing right, where applicable)?
It's not like it's hard to do either, eg:
- Generate a strongly-typed dataset, and load the data into that instead, or
- Use one of any number of code-gen tools to build objects from your data
- For 'magic values' held in a database (or otherwise), use code-gen to import them into your code as constants / enumerations, and use them from there
No comments:
Post a Comment