Comment

Comment by mcs_

I agree with many points, however, it depends on the abstraction that you need and the abstraction depends on the architecture you are adopting.

For example, if you are doing DDD and your repository implementation is about SQL, adding another layer of abstraction is not worth. But if your design is less sophisticated, or you are in an early stage of the project, you may find appealing to use that abstraction.

parent mcs_ 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton