On Mon, Dec 9, 2019 at 1:27 AM ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:

> What is the unicode for the subscript double quote „ ?
>

That's U+201E

and can it be used together with the regular
> quote the same as 「」 ?
>

It can be used this way:

$ raku -e'say „Hello!“'
Hello!
But it must be used with that closing quote '“' (U+201C); it cannot be used
paired with itself:
$ raku -e'say „Hello!„'
===SORRY!=== Error while compiling -e
Unable to parse expression in low curly double quotes; couldn't find final
<[”“]> (corresponding starter was at line 1)
at -e:1
------> say „Hello!„⏏<EOL>
    expecting any of:
        argument list
        low curly double quotes
        term

Your take: for maintainability, is it better to use
> these unicodes or to just stick with escaping things?
>

I don't think there's a maintainability issue with Unicode operators,
because everyone has a plain ASCII counterpart; besides, their meaning is
quite apparent or in some cases even better than their ASCII counterpart:
consider the set union operator ∪ vs (|), the first being the universally
accepted mathematical symbol, while I find the second difficult to
interpret and remember.

-- 
Fernando Santagata

Reply via email to