Comment on It’s not wrong that (for HN) “[facepalm emoji]”.length == 36Comments−chrismorgan1y“[facepalm emoji]”.lengthAre there any even mildly-popular languages that use, or allow, curly quotes for strings? I’d kinda like there to be at least one.−tremon1yPerl has quote operators which come close, but they start with a letter followed by your choice of delimiter: my $string1 = q{for example}; my $string2 = q<angle brackets>; my $string3 = q/or any other symbol/;−dragonwriter1yLike as delimiters? Ruby kind of does, in that: %{hello, world!} is one way to write a string literal.
Comments
Are there any even mildly-popular languages that use, or allow, curly quotes for strings? I’d kinda like there to be at least one.
Perl has quote operators which come close, but they start with a letter followed by your choice of delimiter:
Like as delimiters? Ruby kind of does, in that:
is one way to write a string literal.