3 ms·
> The problem is that a single quote will often times appear in strings as well, but they can't be escaped While having choice of quotes reduces the need for e
by dragonwriter 6y ago
> The problem is that a single quote will often times appear in strings as well, but they can't be escaped
While having choice of quotes reduces the need for escaping, most languages that provide it also still support escaping. E.g., Ruby has double-quoted strings with escaping, single-quotes without, %Q(...) with, %q(...) without, and two different heredoc forms, with and without escaping (the forms that allow escaping also support interpolation).