Re:Ask HN: Whats a Build vs. Buy decision that you got wrong?
by camgunz on Thursday December 29, 2022 @11:30AM
(#34174319)
Seconding: databases as an "implementation detail" is pretty wrong. If you're writing a basic CRUD app you can get away with it, and in fairness this is a lot of cases. But as soon as you start saying things like "how do we lock rows" or "let's put 10M rows in this table" you really need to write the SQL yourself, because at this point you don't have a software application, you have a data application.
I think another factor was that for a while, databases were seen as a necessary evil, rather than the beating heart of our application (see also: NoSQL). Working in a “real” language was seen as better than working with this messy data thing. The whole “impedance mismatch” nonsense.
(I’m not defending our decision, which in hindsight was wrong and stupid. just trying to explain it.)