Live data from Hacker News

Perl's decline was cultural

beatworm.co.uk

141–150 of 472 posts

Re: Perl's decline was cultural

#141
post #125
post #115

Earlier quoted context omitted.

Mostly - from here - python is so incredibly slow to write. Who has this kind of time?

Slow to write, slow to run and throws whitespace errors. Surprised it made it so far.

Sounds exactly like academia itself, and is probably a selling point if you’re a business.

Re: Perl's decline was cultural

#142
post #52
post #50

Earlier quoted context omitted.

In the 2000’s Python was also a sysadmin language. Edit: But I see your point, Google SRE’s around the late 2000’s reached for Python more than Perl.

(90s) Yes, but it developed.

As someone who lived through that transition, we used Perl extensively to sysadmin ~30 Solaris and Irix workstations and it was superlative at that.

At that time, Guido was still working at CNRI locally to us in Reston, VA and we had several discussions at the local Pyggies (Python User Group) on transitioning over to Python for that work. We were a (mostly) C++/Java shop, but Perl fit into all the other "crevices" beautifully.

Python just didn't have enough library support for all of our "swiss-army chainsaw" demands. Still, it was very apparent at the time it would eventually get there and I was enamored with its "one right way" of doing things--even at the bytecode level.

Re: Perl's decline was cultural

#143

No. Perl died because other languages starting having an equivalent to CPAN and its extremely flexible syntax does not scale for medium to large team coordination.

It does if you restrict flexibility, but one of the critical flaws in Perl culture was the belief in letting everyone evolve in different directions while cooperating. It’s a genuinely charming belief, but it’s also explicitly incompatible with ‘interchangeable parts’ employment, and tends to only work in an environment where every individual is the ‘wizard’ lord of their personal domain over code. Even if you managed to train everyone to parse Perl, the cognitive overhead of having to train everyone in each other’s syntactic decisions was O(2^n) expensive, which contrasted quite sharply with Python moving that expensive cognitive overhead to the Proposals system while the produced language had slow version updates and “What we argued about so you don’t have to retread the same ground at work every quarter” mission briefs.

Re: Perl's decline was cultural

#144

Earlier quoted context omitted.

I appreciated them at the time I encountered them (mid-2000s), but they were definitely a bit cringe in their frequency and shamelessness. I wonder if younger people even know Monty Python anymore - by my time, I think people had mostly forgotten about Hitchhiker’s Guide to the Galaxy, even if 42 survived.

Dude it is not cringe. It is silly. Pretending to be a all serius grown ups language is cringe.

I agree but don’t forget that the average programmer nowadays is a strait-laced corporate entity, whose personality is Node.js stickers on a macbook, like everybody else in their team.

They forget that Perl and co. were written by people that had one too many tabs of LSD in the 70s, sporting long hair and a ponytail.

Re: Perl's decline was cultural

#145
post #8

I always found the Perl "community" to be really off-putting with all the monk and wizard nonsense. Then there was the whole one-liner thing that was all about being clever and obscure. Everything about Python came off as being much more serious and normal for a young nerd who wasn't a theater kid.

I'm having to pick up some perl now, and while I don't interact with the community, it surely _feels_ like it was written by wizards, for wizards. Obscure, non-intuitive oneliners, syntax that feels like it was intentionally written to be complicated, and a few other things that feel impossible to understand without reading the docs. (Before everyone jumps on me - yes, as a developer, I should be able to read documen…

It isn't bad language design that you need to study the language before you can use it. I look at haskell programs and it looks mysterious to me because I haven't spent any time studying it, but I'd not thing to say it is bad language design.

Yes, one can write obscure perl code and some love perl golfing. In the same way there is an IOCCC which delights in unreadable code, it doesn't mean that the C language should be relegated to the dustbin. The answer is to write readable code, no matter which language is in use.

Re: Perl's decline was cultural

#147

Earlier quoted context omitted.

It's just very non-obvious what the code does when you're skimming it. Especially in a dynamic language like Perl, you wouldn't know that you're passing down an integer instead of a function until the code blows up in a completely unrelated function.

Then use one of the type systems for Perl. https://metacpan.org/pod/Type::Tiny

You can't do that if you gave up at the very first sigil puzzle.

I'm fine with that: to program in Perl you need to be able to follow manuals, man pages, expert answers, - and even perl cookbooks, or CPAN or web searches. It's a technical tool. The swiss army chainsaw. It's worth it.

Re: Perl's decline was cultural

#148
post #42

Earlier quoted context omitted.

This made me smile given Python's love of Monty Python references - the cheese shop etc.

I appreciated them at the time I encountered them (mid-2000s), but they were definitely a bit cringe in their frequency and shamelessness. I wonder if younger people even know Monty Python anymore - by my time, I think people had mostly forgotten about Hitchhiker’s Guide to the Galaxy, even if 42 survived.

As a foreigner I hadn't known Monty Python when I started learning the language and reading the docs, and I haven't noticed any of those. I guess they came across as just noise.

Re: Perl's decline was cultural

#149

Earlier quoted context omitted.

> Python 3 almost killed Python. People were being crybabies; the critics were extremely vocal and few. Python 3 improved the language in every way and the tooling to upgrade remains unmatched.

Python 3 was a disaster and enterprises were still undertaking pointless 2->3 upgrade projects 10 years later

It was not a disaster in any way. People just complained about having to do something to upgrade their codebases.

Re: Perl's decline was cultural

#150
post #147

Earlier quoted context omitted.

Then use one of the type systems for Perl. https://metacpan.org/pod/Type::Tiny

You can't do that if you gave up at the very first sigil puzzle. I'm fine with that: to program in Perl you need to be able to follow manuals, man pages, expert answers, - and even perl cookbooks, or CPAN or web searches. It's a technical tool. The swiss army chainsaw. It's worth it.

Seems like you and a few other posters are making the article's point – that Perl's culture is hermetic and that new programmers would rather learn Python, Ruby or Javascript rather than figure out which sigil means what.
Post reply on HN