this post was submitted on 10 Sep 2023
65 points (93.3% liked)

Technology

59390 readers
3258 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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 41 points 1 year ago* (last edited 1 year ago) (35 children)

For me, Python replaced Perl 15 years ago. I know Perl is a great language, but it's too "write-only." Python replaced both BASIC and Perl at the same time, even with the problems of migration from v2 to v3. Python can also do scripts to replace Bash and PowerShell. I don't see myself learning Perl now, it would be a waste of time.

Perl was revolutionary at the time with CGI and regexes, but it's not needed anymore.

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (34 children)

I wish python was not indentation aware. It has discouraged me from learning it.

Edit: downvoted by fanbois. Look, I'm not married to my tools.

[–] [email protected] 28 points 1 year ago (14 children)

Even if you're writing JavaScript, you should be using proper indentation. What an odd thing to keep you from learning it.

[–] [email protected] 2 points 1 year ago

Things get messy though, when you have to break the rules of indentation once in a while or when you have “improper “ indentation. Whitespace is a stupidly messy thing. Indentation should be a style guide, not part of the language semantics.

load more comments (13 replies)
load more comments (32 replies)
load more comments (32 replies)