Hacker News new | ask | show | jobs
by TZubiri 19 days ago
>Databases do a lot more than a regular file.

Yeah, you need to write a lot of code that does a lot of work, that's our job.

1 comments

No, that's "not invented here syndrome".
Well if there exists a peyorative term that include 'syndrome' then it must be bad. You win
A database is not trivial software. If you need database features without your performance being complete shit for non-trivial datasets, you will need to effectively write your own db engine, which will most likely be much worse than postgress or sqlite unless you know a lot about writing databases and invest a lot of time into it.

Using a database is not the same as using the isEven API.

A common misconception is conflating the complexity of a dependency with the complexity of replacing that dependency.

> you will need to effectively write your own db engine,

Very wrong, you don't need a web framework to make a webpage, you don't need a game engine to write a game, you don't need a factory to make a nail

> you don't need a web framework to make a webpage

no and you don't need a database for a website. People use databases for all kinds of things where they aren't needed (looking at Wordpress for static sites). But there are lots of use cases below 1 mio users that really call for a db.