6 points

Not sure about the scaling part

I have work on a large application using perl and the readability and maintability where horrendous. The performance where surprisingly good enough (millionsn of request a day); although switching to go (direct translation without any refactoring or usage of fancy go features) yield huge gains in latency and memory usage.

I have work with go, PHP, java, and JavaScript on large application and they all way better than perl. Not even comparable.

permalink
report
reply
2 points

Yeah perl really fails when it comes to maintainability. If you ever write any perl and the requirements change over time (they almost certainly will in a professional setting), you have to pretty much be willing and able to throw it away and start over or accept your fate of wasting unnecessary hours. I’d never advocate for building systems in perl, because nobody wants to come back and modify some buggy piece of code when it’s so unreasonably unreadable. If you want to write some perl for your home automation system, be my guest. Please don’t use it in a situation where I grab a bug fix ticket, open the code, and find a pile of dollar signs and ampersands staring back at me.

permalink
report
parent
reply
4 points

Is perl really

It is installed by default everywhere

No hate i’m just surprised

permalink
report
reply
3 points

Based solely off the implications of this post, it seems Perl is installed default on most Linux distros and MacOS, but not Windows. https://www.perl.com/article/downloading-and-installing-perl-in-2021/

permalink
report
parent
reply
2 points

It’s a dependency of a lot of things, including git, lxc, GNU autotools. Check the Required By on the Archlinux repo.

permalink
report
parent
reply
1 point

His table is overly Perl favored. On Linux you will have Bash, Perl, and Python. On Windows none of these. You could have replaced Perl with Python and the argument would be equally or more true yet they rate Python lower.

permalink
report
parent
reply
2 points

Before there was python, before there was node, there was perl. It’s old, it’s crufty, it’s a product of a bygone age, but even today if you want to do something with regular expressions and ingesting text it’s still one of the easiest options. Of course it’s highly debatable if you should ever use regex to ingest text.

permalink
report
reply
2 points

I will always be grateful to Perl for giving us this gem of a git issue

permalink
report
parent
reply

Programming

!programming@beehaw.org

Create post

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Community stats

  • 69

    Monthly active users

  • 320

    Posts

  • 3.3K

    Comments