Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Grinnz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
31.
▲
by
Grinnz
7y ago
raku.org is no longer available because it is controlled by the Raku project.
32.
▲
by
Grinnz
7y ago
To someone versed in both languages, no. Otherwise, the name giving official credence to assumptions that no longer hold is damaging to both.
33.
▲
by
Grinnz
7y ago
Also, importantly, reflecting that they are in no more competition than Perl and Ruby are.
34.
▲
by
Grinnz
7y ago
Perl certainly has a similar spread of problems and solutions, some of which clearly were inspired by python and ruby solutions. local::lib, Carton, perlbrew/plenv are all recommended immediately to solve these problems, but they are s
35.
▲
by
Grinnz
7y ago
I think the comment was asking about the quote in the linked comment, not the name (which was chosen as an alias many months ago).
36.
▲
by
Grinnz
7y ago
A particularly poor algorithm choice for sorting can be catastrophic.
37.
▲
by
Grinnz
7y ago
It does make it very clear that it is just a data structure (state) associated with a class (behavior).
38.
▲
by
Grinnz
7y ago
Well, the "foo && bar" is a bit of a bashism, idiomatic perl would do "bar if foo" or similar.
39.
▲
by
Grinnz
7y ago
I very much prefer "typeless data with typed operators" over Javascript's "typeless data with typeless operators" or basically any language that was forced to add ===.
40.
▲
by
Grinnz
7y ago
Okay, I see. You should use what most easily provides the features you want, to be sure, and it certainly has not been battle tested the way, say, Catalyst has. But I think you are still selling it short. Mojolicious is foremost about consi
41.
▲
by
Grinnz
7y ago
Indeed and as a Perl developer I make use of XS/external libraries, cooperative multitasking (event loops/promises), and forking to cover these use cases. It doesn't preclude wanting the additional option to take advantage of
42.
▲
by
Grinnz
7y ago
Modern web development doesn't use these, and mod_perl is certainly not recommended anymore - CGI still has its uses, but don't use CGI.pm. A modern webapp is written in Mojolicious or a Plack based framework, and they can all dep
43.
▲
by
Grinnz
7y ago
Which is a similar response to the comments asking "why Perl over Python?" I ask, why not (both)?
44.
▲
by
Grinnz
7y ago
I'm not sure what gave you the idea that just because Mojolicious is Perl, it would have "a pile of corner cases" while a "simple nodejs app" wouldn't. Mojolicious is built from the ground up to be effortlessly
45.
▲
by
Grinnz
7y ago
In this case, it's a Perl concept related to DWIM (Do What I Mean), where the features will make practical assumptions about what you need to accomplish in their implementation, so you don't have to worry about the details. It can
46.
▲
by
Grinnz
7y ago
The Python situation had a major difference: the current maintainers of Python 2 and Python 3 are the same, and Python 2 is still intended to be EOLd. A clean break would surely have avoided many problems but it's hard to speculate how
47.
▲
by
Grinnz
7y ago
It only sinks when people stop contributing to it. Which is a trend, but so far not a fatal one.
48.
▲
by
Grinnz
7y ago
Perl has pretty much coalesced on Moo(se) for this, though it's not core yet. And yes, Raku has a thorough core object system.
49.
▲
by
Grinnz
7y ago
I am not that familiar with Python, but the GIL has long prevented any real in-process concurrency. Perl has concurrency but it's complex, heavy, and poorly supported. Raku's approach to this is built to avoid all these problems (
50.
▲
by
Grinnz
7y ago
Perl 5 has never been at the end of its life (though it was intended to be 15 years ago, things changed), this is one part of what this rename is meant to clarify. It still has a major release each year and modules are released to CPAN cons
51.
▲
by
Grinnz
7y ago
It is also a type of Japanese pottery. "Raku pottery is "imperfect but sophisticated", so that's a fit :)" https://colabti.org/irclogger/irclogger_log/perl6?date=2018-...
52.
▲
by
Grinnz
7y ago
I can say that at least currently, there is no appetite for Perl attempting to "reclaim" the Perl 6 version in the foreseeable future. It would be a disaster in both community relations and marketing. It will either be Perl 7 or P
53.
▲
by
Grinnz
7y ago
> Would I write an API in perl? Nope. I see you have not tried Mojolicious.
54.
▲
by
Grinnz
7y ago
Oneliners that range from simple text processing to complex magic. Wonderful web applications in Mojolicious. Lexical scoping and strict variable checking. Four strong event loop ecosystems, futures and promises, and an in development async
55.
▲
by
Grinnz
7y ago
It's not so much a feature as how really old versions of Perl worked. Any program using strict doesn't allow it unless it's a known subroutine name, built-in or other symbol. Except in certain cases because back-compat is com
56.
▲
by
Grinnz
7y ago
See the link in the parent comment.
57.
▲
by
Grinnz
7y ago
Javascript has adopted this, among other nice things it's gotten from Perl.
58.
▲
by
Grinnz
7y ago
Both things are true: it's probably the user's fault, and it should be made more foolproof.
59.
▲
by
Grinnz
7y ago
It is pretty unfortunate that so many people used "PostgreSQL" and "Postgres" in their module name and DBD::Pg didn't, so it gets ranked lower for those queries. But ranking is a hard problem when there is no curati
60.
▲
by
Grinnz
7y ago
To put some numbers in this thread, it was fixed in CPAN.pm version 1.90 in 2007, which first came with Perls 5.8.9 and 5.10.0 (but can be updated on older Perls).
More ›