Comment

Comment by sullenpaladin

Abstracting the database has another benefit you are neglecting. It is easy to mock the database and test your application use cases if the database layer is abstracted. This is nearly impossible if database access is baked into the app.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton