News for hackers. Stuff that matters.
Re:Python's new t-strings by ljm on Monday April 21, 2025 @09:32AM (#43751841)
I’d always prefer to use a prepared statement if I can, but sadly that’s also less feasible in the fancy new serverless execution environments where the DB adapter often can’t support them.

For me it just makes it easier to identify as safe, because it might not be obvious at a glance that an interpolated template string is properly sanitised.

There are no comments on this comment yet.