Raku / marketing

Marketing resources for Raku language
15 stars 8 forks source link

“Easy Async & Parallelism” is the first example that is provided, let's start with a Hello World maybe? #9

Open AlexDaniel opened 6 years ago

AlexDaniel commented 6 years ago

So if you start looking at the document from top to bottom, the first code example is this one:

image

Given that we're trying to introduce someone to Perl 6, I think the example is too hard to start with. We should probably give a helloworld-ish example first, probably with some of the basics like a for loop.

tbrowder commented 6 years ago

👍

nxadm commented 6 years ago

Way to many concepts are once, indeed. Good catch, AlexDaniel.

jnthn commented 6 years ago

Worth noting that concurrency/async and parallelism are different. The simplest example of parallelism is probably to do something involving a hyper grep/map. For async, maybe an easy one to understand is a file watch that debounces with .stable.

zoffixznet commented 6 years ago

While the example could be a lot more interesting, I'm :-1: on the "for loop" example for the exact same reasons I mentioned elsewhere.

This isn't a tutorial brochure—it's meant to pique reader's interest about the language, not teach them how to use it, and "for loop" ain't gonna do that.