| ▲ | wk_end 4 hours ago | |
Not to dispute the overall premise that Perl 6 did enormous damage to Perl, I want to interrogate this a little bit: > There are many languages still in use today that have all kinds of warts and ugliness, but they remain in use because they still have momentum and lots of legacy things built in them. So being ugly or old isn’t enough of a factor for people to abandon something in droves. Nothing forced anyone to abandon Perl 5 code, and I suspect most Perl 5 wasn't abandoned for its own sake; it was a Cambrian explosion of new greenfield projects rising out of the ashes of Web 1.0 that brought Python and Ruby and PHP to the forefront. It's just that a lot of the Perl 5 code out there in the world was quick and dirty CGI scripts that died naturally after the dotcom crash and as the web became more sophisticated. | ||
| ▲ | flomo 3 hours ago | parent | next [-] | |
My take is a lot of that Web 1.0 stuff was total spaghetti code, hardcoded to a table layout, full of injection holes, etc etc. (It was like everyone did my first CGI script x 100.) So in that sense Perl wasn't any different than classic ASP or cold fusion or etc, it became associated with bad legacy code. And because there was no 'Perl 6', people had to choose something else. (There's stuff about the perl language, but that's probably secondary.) | ||
| ▲ | SmirkingRevenge 2 hours ago | parent | prev [-] | |
Yea, Perl thrived while there was no real alternative. PHP arrived and ate into it's web app use-cases. Modperl wasn't great for hosted environments, to say the least. Python matured and started eating into it's systems use-cases and eventually the web use-cases as well. And was just so much easier to work with and learn. Perl was left with no real niche where it really shined, except one-liners and making poetry I guess | ||