3 ms·
If you do #5 well then yeah, you can get away with it, because your database is just a repository pattern away. I think people want to avoid this because its a
by hobs 4y ago
If you do #5 well then yeah, you can get away with it, because your database is just a repository pattern away.
I think people want to avoid this because its annoying or you have to think a decent bit up front or its just cheaper and easier to do this directly this one time, until its everywhere.
- bborud 4y agoI think people over-estimate the cost of doing this and lack experience with the benefits. I've been doing this for ~20 years now, and when comparing our code to that of a few customers that use databases in a more "chaotic" manner, it is easy to see how quickly it pays off.