HNHacker News
TopNewBestAskShowJobs

Grinnz

206 karma · joined September 17, 2018

submissionscomments
Grinnz··on Is Perl 6 Being Renamed?
It is not lost, Perl 5 is still developed.
Grinnz··on Is Perl 6 Being Renamed?
To the second point, named parameters as implemented by Function::Parameters do provide this checking if you want it to. Named parameters was a planned feature for core signatures and hopefully it will have similar functionality.
Grinnz··on Is Perl 6 Being Renamed?
That announced that it could be used as a second name, but provided no further guidance, so Perl 6 is still used by many thus its problems are still just as present. This proposal would be to actually consistently use Raku as the name of the language.
Grinnz··on Is Perl 6 Being Renamed?
It's not going to be efficiently threaded like in Raku, but this is also possible in Perl 5 with a few modules from CPAN. https://metacpan.org/pod/IO::Async::Function will maintain a preforked pool of processes (on Unix) or threads (on Windows), and return Futures, which can be used by fmap_concat from https://metacpan.org/pod/Future::Utils to make a very map-looking iteration. The experimental https://metacpan.org/pod/Future::AsyncAwait will make this even more natural in the future.
Grinnz··on Is Perl 6 Being Renamed?
Well, not strictly mistaken, but severely outdated. The CPAN module did try to upgrade Perl in ancient versions, and this of course was a terrible idea.
Grinnz··on Is Perl 6 Being Renamed?
This thread was regarding Perl 5.
Grinnz··on Is Perl 6 Being Renamed?
The correct invocation to search for a variable named $" (not $) is perldoc -v '$"', which the variable search on perldoc.pl was modeled after.

A glance at "man perldoc" (or "perldoc perldoc") will tell you of the very useful other switches, such as -f and -q.

Grinnz··on Is Perl 6 Being Renamed?
This would be a pretty difficult change. Aside from backwards incompatibility, module names are both filesystem lookups and package stash lookups, and in most cases both of those are case sensitive, and it's entirely possible for valid programs to use two modules that only differ in case - at best I could see a warning that searches for a "did you mean?" but that sounds slow.
Grinnz··on Is Perl 6 Being Renamed?
"This would be annoying to write in bash" is a very popular use case for Perl (5).
Grinnz··on Is Perl 6 Being Renamed?
Memorizing everything is not required, there is reference documentation. Learning the language would familiarize you with the important syntax, as with any language, and all languages have such oddities, they just appear in different forms.
Grinnz··on Is Perl 6 Being Renamed?
Unfortunate realities of 1) the difficulty of working on the Perl codebase combined with its unpopularity leading to few being both qualified and motivated for such a task, 2) a lack of corporate backing or visionary design purpose driving such features in the language, thus 3) being implemented almost entirely by one individual who had a long period of demotivation and sickness.
Grinnz··on Is Perl 6 Being Renamed?
In practice (from a rough survey of CPAN code and Perl code in the wild I've looked at), people rarely use the English versions, and tend to memorize the few punctuation variables that are commonly used: $_, @_, $/, $], $$, $@, $!, $? (and note that some of these are out of familiarity with other languages) and ignore the rest unless needed for a specific problem.
Grinnz··on Is Perl 6 Being Renamed?
The key word there being "was".

Note that you can mix the languages in the same program, but it's no different than the capability of such modules as Inline::C and Inline::Python in Perl, and doesn't actually involve natively implementing a Perl interpreter.

Grinnz··on Is Perl 6 Being Renamed?
I am a Perl user not Raku, and Perl had almost the opposite problem where its threads are concurrent but too badly designed to be useful. But from what I have seen, Raku is second to none in this capability.
Grinnz··on Is Perl 6 Being Renamed?
As a Perl aficionado, thank you for this, it is rare that anyone who does not enjoy Perl will express a positive opinion for it.
Grinnz··on Is Perl 6 Being Renamed?
The other difference is that they did not split into a python 2 and python 3 dev team over the period of two decades which then both decided to keep officially developing their respective languages.
Grinnz··on Is Perl 6 Being Renamed?
1. Carton 2. Function::Parameters, experimental core signatures
Grinnz··on Is Perl 6 Being Renamed?
The entire point is to align the name with the reality so that people don't make the exact mistake you made here of thinking that it's a "version update" for Perl.
Grinnz··on Ask HN: Is Perl 5 or Perl 6 still worth learning in 2019?
Lots of people agree dependency management sucks. So they wrote tools to help - the most useful wrappers being https://metacpan.org/pod/Carton and https://metacpan.org/pod/App::FatPacker.
Grinnz··on Dwindling CPAN Releases
Sorry you had to deal with that. Do you think it would have been easier to deal with 25k lines of spaghetti garbage in a file named .py?
Grinnz··on Infinite work is less work
Also, Raku is a different language with a very different design, so Perl's bad rep ideally wouldn't apply.
Grinnz··on Infinite work is less work
It is both, but it is the only correct reflection of the current reality. Trying to pretend it's the same language will only end in (further) confusion and disappointment.
Grinnz··on Leaving irc.perl.org
It is in quotes because I haven't seen unwarranted unfriendly behavior in months. I am not subjected to put up with people, I do it by choice.
Grinnz··on Leaving irc.perl.org
I can't speak for my fellow operators but I resent the accusation (since you did name me) that I took part in any such behavior.
Grinnz··on Leaving irc.perl.org
Seconding IRCCloud. Great mobile app with a dedicated developer. If you subscribe you can even use it as a better Slack client.
Grinnz··on Leaving irc.perl.org
As a counterpoint, I'll extend an invitation for anyone to come see for themselves how "unfriendly" the channel is, keeping in mind that it's a two way street and nobody is being paid to put up with you.
Grinnz··on Ask HN: What's your favorite scripting language?
That's factually incorrect. Perl 6 also known as Raku is an unrelated language. The latest version of Perl is 5.30.0 as shown on http://www.perl.org/.
Grinnz··on Perl 5.30.0 documentation site
It is static rendered HTML. But https://perldoc.pl is dynamically rendered (it is a Mojolicious app) and the difference is not noticeable to me except on huge pages. perldoc.perl.org before the refresh was already static HTML but very slow. I think there is a lot more to it than deployment strategy.
Grinnz··on Perl 5.30.0 documentation site
I think you meant to respond to the parent?
Grinnz··on Perl 6's given: switch on steroids
A more explicit switch statement for only strings or numbers is available from CPAN: https://metacpan.org/pod/Switch::Plain
← PreviousPage 3 of 4Next →