Hacker News new | ask | show | jobs
by TZubiri 49 days ago
Yea those go in the pros.

On the cons, you have sql injections, which can kill your company's reputation.

It only became less common by shifting the issue to the supply chain, now you need orms and yet another wrangling library. So I'm not convinced the security issue is "fixed", let alone the code complexity introduced by these things just to effectively do one of the most fundamental operations in computing, writing() to disk

1 comments

You don't need an orm or some wrangling library to avoid sql injections. You just have to use parameterized queries. That's a bit cumbersome when using the bare C SQLite API, but in Python it's very easy.