@thatguyoverthere
> perl
I will court-martial you!
@thatguyoverthere
Ha-ha-ha! No, for one-liners it's actually a perfect tool!
Still have PTSD from using it — every function being a collection of =~ s/…/…/ 😄
Probably why we don't have inline regular expressions in Python and have this re.compile() thing — a hint that coders should at least name them.
@thatguyoverthere Not as good as Perl is for manipulating text, but Python is a decent scripting language. I wish I would use it more where I use shell scripts. It has some amazing third-party modules too, such as requests. If they weren't attempting to use it for everything and the kitchen sink and weren't introducing breaking changes that often, it would be a great tool!
@thatguyoverthere
My experiences are the opposite of yours: I've seen originally neat code base in Perl turn into a disgusting mess over mere weeks when being worked on by a medium-sized team under a time constraint. At the same time a smaller team have expanded s much less capable framework that was originally in Python, so that it almost reached function parity. And their code did NOT turn into abominable shite. This was partly thanks to the enforced use of whitespace.
@thatguyoverthere
Just like you, I respect other opinions, using Perl for one-off thingies — that is perfectly fine, but I will never approve of using it for anything bigger — never again! 😂
And I agree, Python gets overused a lot, it gets used where it's not appropriate, its performance is inadequate in some of these use cases, but as a scripting language? It's a good one — better than most alternatives.
@thatguyoverthere
Needless to say, we all switched to the Python implementation eventually 😅
Yes, there are other ways to fix it, enforced Code-discipline, code reviews… But I've seen it with my own eyes: when time presses, commits get pushed no matter what, just because right now the code does what it has to do. So for me it's Python since then.