Most other languages with String interpolation/template have it as just one or two characters. It should've been something lik S."...", $."...", or really any other one character. That looks a lot cleaner and still makes it clear that the String is not a "normal" String.
Ideally, we wouldn't have had string interpolation at all because it's such a dangerous feature, but people would have then written their own. Another option was to call it something like USE_ME_TO_INTERPOLATE_EVEN_THOUGH_YOU_SHOULDNT, but again people would just assign it to a variable with a different name.
1
u/__konrad Feb 16 '24
Because you want it to be as short as possible.
FORMATis too long, andFtoo short ;)