Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wantarray
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
wantarray
11y ago
I'm pretty sure that the "expression-lambdas" were inspired by Haskell, where you get a lambda simply by writing an operator with one or more missing operands. In Perl 6, detecting that an operand is "missing" isn&#
2.
▲
by
wantarray
12y ago
Come on now, it's clear that he meant to compare CPAN to the corresponding module repositories of those other languages.
3.
▲
by
wantarray
12y ago
That looks like strict nominal run-time type checking to me, not static typing.
4.
▲
by
wantarray
12y ago
> Why would I learn this rather than Haskell? You wouldn't. That is to say: You might learn Haskell if you want do write 100% functional code, and Perl 6 if you want to write imperative/procedural/OO code with functional i
5.
▲
by
wantarray
12y ago
> Is the worst thing you can say about Python that it forces you to indent your code? That's an unduly simplistic argument. "Indentation that looks clean" and "Indentation that fulfils Python's specific needs&quo
6.
▲
by
wantarray
12y ago
The author of that snippet was probably just trying to demonstrate multi-method dispatch using a familiar example; I don't think that's how people would actually calculate Fibonacci numbers in Perl 6. I expect most would either us
7.
▲
by
wantarray
12y ago
Late for what, exactly? Do people no longer write code? Because if they do, some of them might might choose to use Perl 6 for that, and that's all the success a programming language can hope for. I see no reason why Perl 6 can't f