this post was submitted on 10 Sep 2023
4 points (100.0% liked)

Technology

58780 readers
2811 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

hi, i was interested if perl is still relevant in this day and age. Perl has been on the decline for a very long time now. Perl 6 (now named 'raku) not being backwards compatible with perl 5 code made the already small perl community even smaller by splitting it in half. A good example is lisp with it's thousands of different dialects.

Is it still worth using or is it bound to legacy software forever? Like cobol.

top 3 comments
sorted by: hot top controversial new old
[–] frezik@midwest.social 3 points 1 year ago

The community is all but gone at this point. It used to have a lot of highly concentrated competance. Many of those people left (or were driven away) in the last few years, and nobody is taking their place.

There is no such thing as a junior Perl programmer.

My company still uses it significantly, and has already had one major failed attempt to get rid of it. I expect we'll still have it for years to come. I'm at least 25 years away from retirement, and I wouldn't be surprised if it was still around then. That said, we're moving to Elixir, and with a much better plan than the previous attempt.

All that said, we gobble up all the experienced Perl devs we can and try to make them happy enough to stay. There's good money to be made in a long-tail language.

[–] Hovenko@iusearchlinux.fyi 1 points 1 year ago

OpenQa testing framework still uses perl heavily.

I learned perl after python and I still like the language. At the end I always treat languages as tools. There is no bad language. There is only a task and your decision to pick the correct tool for it.

[–] dan@lemm.ee 1 points 1 year ago

I write Perl at work. Supporting an actively developed Perl based application.

It’s honestly not that bad as a language, the biggest downside is that the ecosystem of libraries around it are often abandoned or outdated. The language isn’t perfect and it needs a bit of discipline to avoid creating unreadable code, but honestly it’s not as bad as its reputation might have you believe.

It has quite a few tricks and unexpected bits of flexibility that make it quite a bit more expressive than other languages - you can really craft nice compact, elegant code with it if you want to.

These days I use other languages too (Python, Ruby, JS, etc) but none of them quite match Perl for expressiveness.

Oh also it’s great for oneliners. That expressiveness can be abused for brevity in some really interesting ways.