Raku / user-experience

Identifying issues in and improving the Raku user experience
Artistic License 2.0
25 stars 5 forks source link

There are some Wikipedia articles on programming that need Perl6 examples #28

Closed benjif closed 6 years ago

benjif commented 6 years ago

Here are all the ones I've found: https://pastecode.xyz/view/5a4e619d. I think it's important to have examples on wikipedia for potential new users scrolling through.

shlomif commented 6 years ago

I am copying these links here in case the contents of the paste gets removed:

lizmat commented 6 years ago

Added example at: https://en.wikipedia.org/wiki/Constructor_(object-oriented_programming)

On 7 Aug 2018, at 09:35, Shlomi Fish notifications@github.com wrote:

I am copying these links here in case the contents of the paste gets removed:

https://en.wikipedia.org/wiki/Exception_handling_syntaxhttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(associative_array) • https://en.wikipedia.org/wiki/Anonymous_function#Exampleshttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(string_functions) • https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax) • https://en.wikipedia.org/wiki/Constructor_(object-oriented_programming) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

lizmat commented 6 years ago

Split Perl 5 section into a Perl 5 and a Perl 6 section on • https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax)

On 7 Aug 2018, at 09:35, Shlomi Fish notifications@github.com wrote:

I am copying these links here in case the contents of the paste gets removed:

https://en.wikipedia.org/wiki/Exception_handling_syntaxhttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(associative_array) • https://en.wikipedia.org/wiki/Anonymous_function#Exampleshttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(string_functions) • https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax) • https://en.wikipedia.org/wiki/Constructor_(object-oriented_programming) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

lizmat commented 6 years ago

Added examples at • https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(string_functions)

On 7 Aug 2018, at 09:35, Shlomi Fish notifications@github.com wrote:

I am copying these links here in case the contents of the paste gets removed:

https://en.wikipedia.org/wiki/Exception_handling_syntaxhttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(associative_array) • https://en.wikipedia.org/wiki/Anonymous_function#Exampleshttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(string_functions) • https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax) • https://en.wikipedia.org/wiki/Constructor_(object-oriented_programming) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

lizmat commented 6 years ago

Added WhateverCode example to https://en.wikipedia.org/wiki/Anonymous_function#Examples

On 7 Aug 2018, at 09:35, Shlomi Fish notifications@github.com wrote:

I am copying these links here in case the contents of the paste gets removed:

https://en.wikipedia.org/wiki/Exception_handling_syntaxhttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(associative_array) • https://en.wikipedia.org/wiki/Anonymous_function#Exampleshttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(string_functions) • https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax) • https://en.wikipedia.org/wiki/Constructor_(object-oriented_programming) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

lizmat commented 6 years ago

Added Perl 6 section to https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(associative_array)

On 7 Aug 2018, at 09:35, Shlomi Fish notifications@github.com wrote:

I am copying these links here in case the contents of the paste gets removed:

https://en.wikipedia.org/wiki/Exception_handling_syntaxhttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(associative_array) • https://en.wikipedia.org/wiki/Anonymous_function#Exampleshttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(string_functions) • https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax) • https://en.wikipedia.org/wiki/Constructor_(object-oriented_programming) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

lizmat commented 6 years ago

Exception handling is sufficiently different in Perl 6 that it doesn’t work to copy-paste the Perl 5 section and then just make changes. So I will have to contemplate a bit on that one: • https://en.wikipedia.org/wiki/Exception_handling_syntaxD

On 7 Aug 2018, at 09:35, Shlomi Fish notifications@github.com wrote:

I am copying these links here in case the contents of the paste gets removed:

https://en.wikipedia.org/wiki/Exception_handling_syntaxhttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(associative_array) • https://en.wikipedia.org/wiki/Anonymous_function#Exampleshttps://en.wikipedia.org/wiki/Comparison_of_programming_languages_(string_functions) • https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax) • https://en.wikipedia.org/wiki/Constructor_(object-oriented_programming) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

benjif commented 6 years ago

Thanks Liz!