3 ms·
I think that's an excellent issue to be stubborn about. Even if the string interpolation didn't matter in that situation, whatever alternative you were using, a
by bjourne 11y ago
I think that's an excellent issue to be stubborn about. Even if the string interpolation didn't matter in that situation, whatever alternative you were using, an orm or prepared queries, must have been equally convenient. So the reason your colleague used string interpolation must have been because he didn't knew about the better alternatives. Then insisting on him refactoring his code to use prepared queries is correct because for a small time-investment he learns to use the correct api:s and can write better quality code in the future.