Hacker News new | ask | show | jobs
by _r_o_y_ 3023 days ago
For me DataTables where magic objects with no type safety at compile time.
2 comments

After LINQ, I entirely refused to work on DataTables code without refactoring it to something more sane, even if just ugly DBReader junk and its version of casting hell. I was briefly sad that .NET Standard 2.0 had to bring in DataTables and preserve that ugliness for the rest of foreseeable time.
Type-safety is a blessing.
datatables are pretty much how regular SQL behaves, there are no magic behind them, right?

I would have prefered using DataReader, most often.