Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
[flagged]
nelu on April 27, 2024 | hide | past | favorite


> You don’t actually need any dependency to do what you want, you can just code it

...Why? Like yeah, you can just write a small amount of code to serialize your state into a file every few seconds. But you can also just write a small amount of code to connect to a db or pull in sqlite, and do it a lot more efficiently without corrupting all your user data the first time you happen to shut down the application in the middle of a write. I certainly understand the desire to minimize dependencies and complexity where appropriate, but this seems like the worst candidate for it.


Don't editoralise the titles please.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: