To say it once and for all: using ” as the escape character for ‘ within single-quoted strings is a poor decision in language design.
To say it once and for all: using ” as the escape character for ‘ within single-quoted strings is a poor decision in language design.
Ah, yes I can remember the times I’ve stumbled on strings like ‘Foo “some”‘ + ‘bar’ + “‘today”‘. See the mistake ? I’d be surprised if anyone catches it…
I see a mistake in the today part of the concatenation, but you’re definitely right that no normal person would ever catch it without being advised of its existence beforehand.