Comment

Comment by bad_username

For me the biggest reason is automated database initialization and migration. After defining or updating the ORM model, I don't have to worry about manually CREATing and ALTERing tables as the model evolves.

This is compatible with the OC suggestion of using ORMs as a "fancy query builder" and nothing more, which I strongly support.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton