compiler icon indicating copy to clipboard operation
compiler copied to clipboard

♻️ Drop template literal syntax and just always allow interpolation in strings.

Open hayleigh-dot-dev opened this issue 3 years ago • 0 comments

Although the initial motivation was just copying what JS does, it doesn't really seem clear to me if there's any benefit to having different syntax at all and only serves to make things more awkward (eg can't easily refactor console logs without changing the surrounding quotes).

I don't think we stand much, if anything, to lose here by assimilating the two and just requiring users to escape $ if they want that literal character.

hayleigh-dot-dev avatar Mar 11 '22 20:03 hayleigh-dot-dev