this post was submitted on 13 Jun 2023
15 points (100.0% liked)

Programming

13378 readers
1 users here now

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.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] pec@sh.itjust.works 7 points 1 year ago (1 children)

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.

[โ€“] boot@sh.itjust.works 2 points 1 year ago

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.