|
ATM Machine posted:This just seems really strange when a curly bracket is rarely used outside of maths, music and programming; parentheses are used quite commonly by comparison, so it seems strange on first glance that to pass a variable into a string, you have to escape a character for it. The way Perl and PHP do it is bad, for all the obvious reasons, and that only works if you have $ in front of all your variables. The way Ruby does it is bad because it introduces a second escape character, #. Having a naked curly bracket would be surprising and weird. It makes sense to reuse the existing escape character.
|
# ¿ Jun 4, 2014 12:04 |
|
|
# ¿ May 4, 2024 14:52 |