Programming languages shouldn't use "..." or "`" because programmers use those in prose to write about code. ES6 has both.
@jorendorff They also didn't have to retrofit interpolation. Heredoc syntax is too heavy for interpolation.
-
-
@wycats $"interpolated ${noun}s are fun" -
@jorendorff fails your original constraint: $ and @ are used in English. -
@wycats But they're not used to delimit code from text or used *within* code examples embedded in text. That's my complaint.
End of conversation
New conversation -
-
-
@wycats C#'s @ would be OK too.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats it might also be possible to use heredoc syntax for multiline strings and a different glyph to indicate interpolation, orthogonally -
@jorendorff also, $ has a very strong meaning in JS (jQuery)
End of conversation
New conversation -
-
-
@wycats might have been possible, i mean. it's not a stop-the-presses kind of thing, i just sorta slightly lament it -
@jorendorff it's not clear to me that there is a better, non-muddled solution. -
@wycats Python triple-quoted strings for multiline, $ prefix for interpolation and tagging (to give one point in a large design space).
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.