5 ms·
Perl 5 is mature, and Perl 6 is pre-release, but they're different languages with the same name for branding purposes. Perl 6 is a really promising language wi
by philwelch 16y ago
Perl 5 is mature, and Perl 6 is pre-release, but they're different languages with the same name for branding purposes.
Perl 6 is a really promising language with tons of cool features, and some similarities to Perl 5. It will pick up hype when it's 100% finalized, even though you can use it now.
Perl 5 (popularly known as "Perl") is old enough to be on the other side of "cool", but it's a perfectly good language, especially if you use CPAN.
- rcfox 16y agoPerl 5 came out in 1994, Ruby came out in 1995, Python came out in 1991. (Sources: Wikipedia)
- philwelch 16y agoPerls 1-4 are even older (Perl 1 was 1987). Perl 5 really is just another version number of Perl, not a new language entirely like Perl 6. Oftentimes what matters is exposure more than when something was invented. Erlang and Haskell came out in 1986 and 1990, respectively, but they're newer to most people than Perl is. Ruby and Python didn't have the exposure in 1995 and 1991 that Perl had. (Interesting thought experiment--are there any obscure programming langauges today that will be all the rage in 2020, or has the internet accelerated that process?)
- jleader 16y agoActually, having worked with Perl during the Perl 4 to Perl 5 transition, I'd argue that it was almost as large as the C to C++ transition, though not as big as the Perl 5 to Perl 6 transition. Perl 5 dramatically expanded the options for expressing ideas in the language, while remaining largely syntactically upwards compatible (the Perl transition retained more compatibility with the previous version than did the C/C++ transition). Perl 5 added lexically scoped variables ("my"), in addition to Perl 4's dynamicly scoped variables ("local"). Perl 5 added references, which is what made OO Perl possible (either "traditional" blessed hash references, or Moose, or any of the less popular alternatives, like "inside-out" objects). I suspect the programming language rage of 2020 is currently some highschool kid's pet project (or some elementary school kid's daydream?) which no one else has seen yet.
- chromatic 16y ago> Perl 6 is pre-release... Rakudo Perl 6 has had 34 releases. > It will pick up hype when it's 100% finalized.... That must be Perl 5's marketing problem then, because it's not finalized either.
- philwelch 16y agoWikipedia: As of 2009, multiple Perl 6 implementations are under development, but none are considered "complete". As noted in the history section the language design itself is still subject to change. No implementation will be designated as the official Perl 6 implementation; rather, "Perl 6 is anything that passes the official test suite."[12] If that's changed, you should probably go update that. "Pre-release" is generally understood as a synonym for "not complete", right? There's no complete, finished implementation of the Perl 6 spec, right? Is the spec itself finished? It's like you can't say anything about Perl (either one) on Hacker News, not even mildly complimentary things, without someone jumping on perceived slights.
- chromatic 16y ago> If that's changed, you should probably go update that. If that weren't against Wikipedia policies, I would. Then again, I don't consider Perl 5 "complete" either, whatever "complete" means. > There's no complete, finished implementation of the Perl 6 spec, right? Is the spec itself finished? No to both, but why does that matter? There'll be a Perl 6.1 spec and a Perl 6.2 spec and so on. Meanwhile, people who find a Perl 6 implementation usable for their purposes will use it and people who don't won't. Fortunately, every release is more usable to more people. As for "pre-release", I don't believe in playing linguistic existential games. Software exists or it doesn't. You've released it or you haven't. It does something or it doesn't. Perpetual betas and alphas and pre-releases and unstable versions and (even) release candidates are for people who lack the courage to release good software. As for "perceived slights", insinuating that Perl 6 doesn't exist or isn't useful because the spec isn't "complete" (whatever that means) or no single implementation is "finished" (whatever that means) or no one has said "This particular release of this particular implementation is stable for every domain and every purpose and everyone who might ever want to use it" is awfully silly and (in my mind) deserves a challenge.