Open AlexDaniel opened 6 years ago
👍
Way to many concepts are once, indeed. Good catch, AlexDaniel.
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
.
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.
So if you start looking at the document from top to bottom, the first code example is this one:
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.