3 ms·
Changing the behavior of """ would cause compatability issues, especially considering it's not unreasonable to want a multiline string that employs escape codes
by dangerbird2 8y ago
Changing the behavior of """ would cause compatability issues, especially considering it's not unreasonable to want a multiline string that employs escape codes. There are plenty of cases where you want a large string literal embedded in the binary as opposed to reading a file at runtime (hard-coded OpenGL shaders are one case I can think of).