News for hackers. Stuff that matters.
Re:Ask HN: Which are the best resources to learn software ar... by ellius on Saturday February 01, 2020 @10:50AM (#22211112)
The second option is possible if you declare an abstract dependency (preferably just a contract like an interface) and make your persistence layer implement it. I highly recommend "Clean Architecture" if you'd like to learn more about that approach.

There are no comments on this comment yet.