Re:JEP 430: String Templates (Preview) Proposed to Target Ja...
by SyrupThinker on Friday March 03, 2023 @03:45PM
(#35014763)
But if you do follow that advice consider if it is worth just using a different escape character for all interpolations.
That way could still make use of this very sensible syntax of reusing the escape for interpolation whilst avoiding the backslash issues.
If any of you design a language or a DSL, please, please - avoid the backslash - for the reasons stated above. Hard to type, introduces unseen problems, most will hate it. It (backslash) is unbecoming, of anything elegant.