Discussion

Ask HN: Starting to love RDBMS-first design. Anyone else?

I have been working on my side project for the last 10 months. My initial focus was on language, frameworks (elixir, liveview) during the initial months. Designing tables in rdbms (postgres) was out of necessity. For the last 2 months, usage of Stored procedures and postgresql functions just clicked. The feel of working with raw data inside the database instead of running around ORM hoops felt very liberating. Just realizing loops and conditionals are made unnecessary by SQL and the fact that abstraction layers can be built using views is quite addictive. I have deleted much of my UI code that I painstakingly wrote in elixir to SQL and it feels good. Interested to hear if someone has went down this path. Would like to hear if there are any gotchas in this approach ?
6 points thookipodu 2 years ago 2 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton