Skip to content

Include ASCII Equivalents in Official Docs code Examples  #2201

Closed
@shishini

Description

@shishini

For Perl6 new comers, those who are not familiar with the Perl6 community and culture
and how Perl6 came to be or evolve

The special Unicode Characters in code and especially in operators, can look very intimidating
it can be quiet engaging to find out how to insert those characters in your favorite OS or editor

Having Unicode only code samples and examples, might give the impression, that there is no other way to write that code, except using the unicode characters

It should be made clear in the docs, that for example this line
my @primes = ^∞ .grep: *.is-prime;
Can simply be written as
my @primes2 = ^Inf .grep: *.is-prime;

And if possible any unicode operator mentioned in the docs, should have a link to its ascii equivalent
I understand, that Perl6 might be trying to promote itself as a 100 year language, and that part of this is promoting the use of the nicer looking unicode characters, but for new comers who are not aware of this or sold on this idea, this can be very intimidating and confusing

Metadata

Metadata

Assignees

No one assigned

    Labels

    wishlist"nice to have" issues; might require a lot of work or a big change or be low priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions