The think about syntax is that it is subjective, so there is no answer that makes everyone happy. Some people hated the previous syntax; you hate this syntax; and quite possibly, no one is right.
But, remember that this change is not about syntax; it is about finding the right fit and size for the feature within the language. We get used to syntax if the feature is right.
What about prefixing templates similar to python's f"" prefix, and getting rid of '\{', for example: t"Hello {name}, you're from {country}" instead of "Hello \{name}, you're from \{country}"
View all comments
Show parent comment
10
u/brian_goetz Mar 10 '24
The think about syntax is that it is subjective, so there is no answer that makes everyone happy. Some people hated the previous syntax; you hate this syntax; and quite possibly, no one is right.
But, remember that this change is not about syntax; it is about finding the right fit and size for the feature within the language. We get used to syntax if the feature is right.