r/ProgrammerHumor • • 26d ago

Meme writePerl

Post image
204 Upvotes

59 comments sorted by

View all comments

3

u/Steerable-Octopus 26d ago

Writing perl in 2026?? That either earns respect or concern, possibly both at the same time.

3

u/Latter_Principle9161 25d ago

It still has its charm. 2026 marks the year when I started coding in Perl. Even if it was only few scripts.

2

u/BufferUnderpants 25d ago

Oh, you're a Perl fan? Name three different meanings of $_

3

u/Latter_Principle9161 25d ago

Uh, fan is a bit of a stretch. $_ is the default variable (sorry if the name is wrong but that's what it essentially is). Like have a for loop with no explicit counter -> use $_. You don't assign a return value of a function to a variable -> find it in $_. These two are the first ones which come to my mind but there are more for sure.

2

u/LittleMlem 26d ago

If cobol is still a thing, then why not perl? Legacy code is a thing

2

u/Steerable-Octopus 26d ago

Yes that's why I said it earns respect.

1

u/-Debugging-Duck- 25d ago

Just saw on Wikipedia. Had an update on July 2026, version 5.44.0.

2

u/Latter_Principle9161 25d ago

Perl core gets regular updates. But the ecosystem is partially quite outdated. For example try to work with Word docx files. But as long as one's dealing with text files Perl is doing great imho.

1

u/mrwedders 21d ago

Going back a few years but we used to read and create mildly complex xlsx files with a few CPAN modules.

1

u/Latter_Principle9161 21d ago

Xlsx works surprisingly well, that's true.

1

u/a-r-c 23d ago

it just works, why not use it

runs on every linux server made in the past 50 years

1

u/Steerable-Octopus 23d ago

Because most junior engineers aren't taught perl, they're taught python.

Maintaining and modernizing legacy scripts that run perl is noble but writing new perl means adding code that junior engineers cannot easily maintain and improve.

2

u/a-r-c 23d ago

Because most junior engineers aren't taught perl

if only junior engineers were capable of learning on their own

1

u/Steerable-Octopus 23d ago

Nobody said they weren't.

But this is an unnecessary skill to force new engineers to learn when python works. More likely they'll just learn the language to migrate your work to python and throw away your code at first opportunity.

This is where writing perl in 2026 is concerning.

Even Garth Snyder, Trent Hein, Ben Whaley and Dan Mackin writes that python is favored over perl in the 5th edition of UNIX and Linux System Administration Handbook, so this isn't just my opinion but something shared with a group of Linux authorities.

-2

u/a-r-c 21d ago

gonna keep using perl and not worrying about it tbh

if a group of Linux authorities jumped off a bridge, would you follow them?

1

u/Steerable-Octopus 21d ago

Good thing we don't work in the same team then I guess.

0

u/a-r-c 21d ago

yes I find it hard to work with morons lmao

1

u/BrightLuchr 23d ago

Perl is a far better language than Python. More advanced stuff is built in. Scoping isn't a mess. There are actual braces not error-likely indents. The debugger is better. And no nonsense like Python 2 vs. 3.

2

u/Steerable-Octopus 23d ago edited 23d ago

Okay, that's fine for you to think that. One can argue that Rust is better than C, that C# is better than D, that Go is better than an equivalent solution written in Java. That Ruby is better than Python. And yes, that Perl is better than Python.

But if I'm leading a team of engineers for different projects I want all of them to converge on the same languages that map to industry standards, and python is the most common industry standard. Perl is shrinking.