I have trained/onboarded several people into our company in the past decade and one of the most important lesson i have to get across is to NOT do all that fancy stuff you can do in Perl. 90% of it is just "write as you would do in any other language" and be happy for great support for RegEx + network (which is 50%+ of the job anyway)
But by working on that priniple, we have a readable Perl code base.
Everytime I have to work with Perl I feel like Jurassic park. They were so concerned with whether or not the could, they didn't think about it they should.
As mentioned, i work in Perl full time for a decade and the fact that i can't tell if this is real perl code or reddit fucked up the formatting should say enough.
I think my only expirence with perl was because it was a dependency of gcc. Pretty much if you wanted to compile gcc from config back in the days of I think the iphone 2g it was a requirement for some parts.
22
u/Uberzwerg Jan 28 '23
I have trained/onboarded several people into our company in the past decade and one of the most important lesson i have to get across is to NOT do all that fancy stuff you can do in Perl.
90% of it is just "write as you would do in any other language" and be happy for great support for RegEx + network (which is 50%+ of the job anyway)
But by working on that priniple, we have a readable Perl code base.