On 2019-12-09 00:46, Fernando Santagata wrote:
On Mon, Dec 9, 2019 at 9:38 AM Fernando Santagata <nando.santag...@gmail.com <mailto:nando.santag...@gmail.com>> wrote:

    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:


There's another quotation mark that can be used with '„', it's '”' (U+201D). I know, it's difficult to see the difference :-)

    $ 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



--
Fernando Santagata


Thank you!

I already have a keeper going with useful unicodes.

-T

Reply via email to