zlacker

[return to "Perl's decline was cultural"]
1. RayFra+P3[view] [source] 2025-12-06 18:17:23
>>todsac+(OP)
There was a lot of pressure in the Perl community to write things as succinctly as possible instead of as maintainably and understandably. That’s not realistic for use in a field with a lot of turnover and job hopping.
◧◩
2. creer+2b[view] [source] 2025-12-06 19:10:30
>>RayFra+P3
There was no such pressure. That's ridiculous. There were a lot of things people could grab as reasons to form an opinion without even reading articles, never mind the tutorial. They then ended up with php or python, even java for crying out loud, and years later THAT was a problem.
◧◩◪
3. syncsy+4t[view] [source] 2025-12-06 21:56:38
>>creer+2b
Code golfing originated in perl.

There was strong cultural pressure to be able to write perl in as few bytes as possible, ideally as a CLI one-liner. Books[1] were written on the topic.

https://www.thriftbooks.com/w/perl-one-liners-130-programs-t...

◧◩◪◨
4. creer+nA[view] [source] 2025-12-06 22:59:39
>>syncsy+4t
One-liners is one of the ways you can use perl. You can also use it as the embedded language in some larger project. As perl CGI. As mod_perl. etc. There is no "cultural pressure" to use any of these. You can choose to mess around with one-liners and you can choose to spend time shaving a few characters off your code. Or not. None of this is the one true way. This is not python.
[go to top]