3 ms·
A design goal is that you won’t need to escape _any_ character sequence in the string. In your proposal, a " inside a literal string would have to be escaped.
by Someone 5y ago
A design goal is that you won’t need to escape _any_ character sequence in the string. In your proposal, a " inside a literal string would have to be escaped.
In practice, using """ will be sufficient almost all the time.