3 ms·
> “[facepalm emoji]”.length 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.
by chrismorgan 1y ago
> “[facepalm emoji]”.length
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.
- dragonwriter 1y agoLike as delimiters? Ruby kind of does, in that: %{hello, world!} is one way to write a string literal.
- tremon 1y agoPerl 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/;