3 ms·
Well, I agree that this would be a force acting in the direction of Good, though it's hard to gauge how much >There's, of course, nothing stopping any given li
by akoboldfrying 2y ago
Well, I agree that this would be a force acting in the direction of Good, though it's hard to gauge how much
>There's, of course, nothing stopping any given library or application from doing the same thing
would happen. People already use a library to talk to the RDBMS back end; a "convenience wrapper" library that adds literals back into the grammar sounds like something that might easily become popular, and then you're back to square one.
The question of how best to nudge people away from these footguns is certainly interesting, and applicable to other languages (e.g., HTML). Another option would be to allow, say, BASE64-encoded literals only.