this post was submitted on 16 Sep 2024
225 points (83.6% liked)

Programmer Humor

19503 readers
584 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] MajorHavoc@programming.dev 14 points 1 month ago* (last edited 1 month ago) (2 children)

Lisp is the more logical choice.

Relevant XKCD. Python has replaced Perl, but things have otherwise changed quite little.

[–] vk6flab@lemmy.radio 6 points 1 month ago* (last edited 1 month ago) (3 children)

Perl is the only language that looks just as incomprehensible before and after a rot13 transformation.

Python on the other hand is the only language that will cause your application to stop working because you mixed up tabs and spaces, even though it looks perfectly fine on your scr.

And lisp is hard to say if you have one.

Edit: aa -> after a

[–] Overspark@feddit.nl 5 points 1 month ago

It is absolutely fine to mix tabs and spaces in Python, as long as you are consistent about it. It's not recommended though, as it's easy to mess up if you're not paying attention. Most IDE's will convert tabs to spaces anyway so it's a bit of a non-issue.

[–] MajorHavoc@programming.dev 2 points 1 month ago

Perl is the only language that looks just as incomprehensible before and aa rot13 transformation.

Lol. You're not wrong.

[–] cfi@lemmy.world 2 points 1 month ago

Perl is the only language that looks just as incomprehensible before and after a rot13 transformation.

APL would like a word, though I imagine ROT13 on APL source code might actually be horrific.

[–] tux0r@feddit.org 4 points 1 month ago (1 children)

I still write more Perl than Python these days.

[–] MajorHavoc@programming.dev 2 points 1 month ago (1 children)

I'm kinda jealous. I don't miss maintaining production Perl code, but Perl was more fun to code in.

[–] tux0r@feddit.org 3 points 1 month ago

Feel free, it’s still out there!