3 ms·
It’s interesting to look at this from the perspective of an experienced .NET developer, because you’re not wrong: * SQL Server can be incredibly fast with good
by moomin 5y ago
It’s interesting to look at this from the perspective of an experienced .NET developer, because you’re not wrong:
* SQL Server can be incredibly fast with good access patterns, but the rest suggests you didn’t have those.
* Yeah, the repository pattern is garbage. I prefer just define the operations you need and use Dapper.
* I know some on here are wild about Entity Framework, but personally I’d rather write the SQL myself. You need a good mental model of what’s going on under the hood or what you’ve described happens.
* Honestly never used the default test runner because it seems pretty bad. NCrunch, however, is incredible and doesn’t suffer from this.
* I don’t think I’ve ever worked anywhere that used the default logging implementation and yes, that format is weird. (You can, however, step into the logging code if you want.)
* Depends on what you’re doing, but yeah 10,000,000 Task.Runs is not going to perform well. But I’m not sure the equivalent code works well anywhere except possibly BEAM.
So whilst none of these things cause me problems on a day-to-day basis, I can 100% see how inexperienced devs could drive straight into that tar pit.
- hackerfromthefu 5y agoLike you, I also wish HN would preserve newlines or keep asterisks as bullet points on newlines! :D
- moomin 5y agoFML...