News for hackers. Stuff that matters.
Re:Ask HN: What novel tools are you using to write web sites... by onion2k on Monday April 05, 2021 @01:41AM (#26695681)
Adding in a service like a SQL database because "you might want that" in the future is not a good idea. Apps should do what they need to do and no more. "Future proofing" is almost always a waste of time - even if you definitely want the feature in the future it's usually better to add it in when it's needed than adding it early and have to support something that adds no value yet.

As for reports and transactions specifically, noSQL databases support both.

Re:Ask HN: What novel tools are you using to write web sites... by d1sxeyes on Monday April 05, 2021 @05:22AM (#26696887)
OP isn't talking about noSQL databases, but no database at all (if I understand correctly - OP says '- No SQL database; I just keep everything in memory in native data structures'.

In this case, I don't think OP is even thinking about noSQL databases.

Re:Ask HN: What novel tools are you using to write web sites... by kouteiheika on Monday April 05, 2021 @05:31AM (#26696959)
Correct. Sorry, I should have worded that better; unfortunately I cannot edit the post anymore.
Re:Ask HN: What novel tools are you using to write web sites... by arkitaip on Monday April 05, 2021 @03:09AM (#26696136)
Unless, of course, switching to SQL turns out to be a major headache because it requires major rewrites, organizational changes, etc.
Re:Ask HN: What novel tools are you using to write web sites... by zepolen on Monday April 05, 2021 @06:43AM (#26697338)
> "Future proofing" is almost always a waste of time

Not really, unless you lack the experience to know what to future proof and what not to future proof.

I've saved days/weeks of development by future proofing certain things, I've also saved days/weeks of development by taking pragmatic YAGNI in the right places.

Obviously this will only surface on projects that last longer than a couple months ;)