3 ms·
String sql = “Not having “ + “to break up “ + “SQL statements” + “like this for readability “ + “thus making them hard to edit “ + “was incredibly useful a
by MBCook 1y ago
String sql = “Not having “ +
“to break up “ +
“SQL statements” +
“like this for readability “ +
“thus making them hard to edit “ +
“was incredibly useful at my job.”;
(Note: I put a subtle bug in there because it always happened)
SQL injection is horrible, but people were managing to do that all these years after prepared statements anyway without text blocks. I really don’t think they made things worse. Same thing with embedding HTML in the code. They were gonna do it anyway.
- 1718627440 1y ago> Note: I put a subtle bug in there because it always happened No space between "statements" and "like"?