Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Perl6 code examples should be removed from Perl #218

Open
jgpuckering opened this issue Oct 30, 2022 · 6 comments
Open

[BUG] Perl6 code examples should be removed from Perl #218

jgpuckering opened this issue Oct 30, 2022 · 6 comments
Assignees

Comments

@jgpuckering
Copy link

I’ve been going through the Perl code idioms, filling in many that were missing, when I noticed that there are some that are specific to Perl 6 — which is now named Raku and which is a different language than Perl 5. See idiom #50 for an example.

Perl 5 and Perl6/Raku have officially diverged are now going their separate ways. Having Perl 6 code intermixed with Perl 5 examples is confusing.

Perhaps there should be a language entry for Raku and the Perl 6 code examples relocated.

At a minimum the Perl 6 code examples under Perl should be removed.

@Deleplace
Copy link
Owner

Hi Gary, thank you so much for all your recent contributions.

Yes I agree, any snippet specific to Perl6/Raku is not appropriate as a "Perl" entry, and should be fixed (jump back to Perl5 compat) or deleted.

If you know how to modify them directly to match Perl5, please do so.

If you can help me with a list of implementation IDs to be deleted, I will be happy as an Admin to delete them.

Sometimes an Idiom has multiple implementations for the same language, which is why it's important to find the specific implementation ID to be deleted (e.g. by clicking on the impl language name near the idiom title)
image

@jgpuckering
Copy link
Author

jgpuckering commented Oct 30, 2022 via email

@Deleplace
Copy link
Owner

When there's more than one way to do it, and they are all acceptable, then we can have several of them, no problem. The visitor will read them, maybe test them, and figure out which one best fits their needs.

codepad.org is really cool and simple, however

  • It's stuck with Perl 5.8.0
  • It currently gives me 500 Internal Server Error, as you may have noticed already

The alternative wandbox.org is really cool too! I recommend it.

To discover missing entries, as a contributor: have a look at the Perl Backlog. It shows a random sample of things to complete, different when you refresh.

The Language Coverage page shows first the columns of your "favorite languages", in green. In the subsequent columns, the languages are sorted by completeness: 1 point for an snippet, 1 point for a doc link, 1 point for a demo link.

I agree with the sentiment "some simple things are tricky to implement" - and also it takes times! Often more than 15mn for a correct implementation, with documentation, and with a runnable demo.

@jgpuckering
Copy link
Author

jgpuckering commented Oct 31, 2022 via email

@jgpuckering
Copy link
Author

Question: what does clicking the Flag button do? And is that documented anywhere?

@Deleplace
Copy link
Owner

Deleplace commented Oct 31, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants