Discussion

Ask HN: Everyone is using Postgres, why are most scared to program it with SQL?

postgres is an incredibly rich and powerful database and its true power is unlocked when you program it directly with the language that it exposes to the world. postgres has become that standard for database for so many people and projects.

But strangely most are scared to program it with SQL.

Instead, almost everyone uses a database abstraction layer to avoid writing SQL - why is this? Why the obsession with avoiding "programming the machine"?

So instead of creating a lifelong, re-usable knowledge and skill of programming Postgres with SQL, developers are wasting their time learning abstractions and libraries and ORMs that may or may not hang around, and might not even be used at the next project you work on.

Why is it that people love postgres but they are afraid to program it with SQL?

2 points andrewstuart 2 years ago 7 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton