this post was submitted on 16 Sep 2024
222 points (83.4% liked)

Programmer Humor

19564 readers
653 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
[–] [email protected] 15 points 2 months ago (20 children)

For all of those, Lisp is the more logical choice. Plus, whitespace as syntax is the worst possible design decision.

[–] [email protected] 14 points 2 months ago* (last edited 2 months ago) (7 children)

Lisp is the more logical choice.

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

[–] [email protected] 6 points 2 months ago* (last edited 2 months 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

[–] [email protected] 5 points 2 months 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.

load more comments (2 replies)
load more comments (5 replies)
load more comments (17 replies)