Recent submissions

Comment · 10 years ago
>But another good example is rewriting an if/else chain as a dictionary lookup or repetitive code as a tuple of operations followed by a for loop.

I'm familiar with the dictionary lookup method but not the tuple. Perhaps it's obvious but could someone please give an example?

Comment · 11 years ago
Great (basic) introduction with exception to the regex chapter because it felt like an introduction to regex instead of the regex features of perl6.

Some things I found interesting (in addition to what s_kilk mentioned and linked to and others have already mentioned some of them) * Gradual typed! * Multi subroutine * Hyphen in variable names * @numbers.=sort * .WHAT * Catch blocks * .defined * Unless

It will be fun :)

I however don't understand the reason for the naming of eg elsif, my, slurp/spurt?? (instead of else if or local or fread/fwrite) Is it a perl culture thing? Because they mention in the tutorial that Perl 6 belongs to the C-family languages (and then call the "for" loop in C "loop").

Comment · 11 years ago
I'd like to take perl6 for a spin. However, other than playing with it I'm not sure how it compares to say python or ruby in terms of strong sides. I mean what are the cases perl6 would shine in comparison? (NOT TO FLAME! I'm asking for ideas to when perl6 would be an interesting tool for the job. AFAIK it had a good string manipulation ~ also I'm still reading the tut and currently it feels very bash and somewhat ugly (although helpful) with the % & @ prefixes).
Comment · 11 years ago
Death? I mean, if you will not die, you could die? And taxes of course.
Comment · 11 years ago
NEB (No Expert But...) Isn't Linux just the kernel?

On the page they think comparable systems to Circuit are CoreOS, and Consul and Mesosphere.

What I'm trying to say is this: are not all of these "linux installed" with some additional stuff thus making them an operative system (distro is it??

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton