3 ms·
The safety isn't in avoiding backticks, that's just syntax. The safety comes from requiring you to specify which template processor you're using for the templat
by lolinder 3y ago
The safety isn't in avoiding backticks, that's just syntax. The safety comes from requiring you to specify which template processor you're using for the template string, so it's just as easy to use the right processor (eventually, SQL."") as it is to use the wrong one (STR."").
Using STR."" instead of STR.`` is just an aesthetic choice, and one that I think makes sense for Java.