this post was submitted on 17 Dec 2025
382 points (96.6% liked)

Programmer Humor

27898 readers
2755 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Lembot_0006@programming.dev 21 points 22 hours ago (22 children)

FORTRAN isn't a beauty either.
And Python is strange as hell with its mandatory tabs.

[–] bleistift2@sopuli.xyz 20 points 21 hours ago (11 children)
[–] marduk@lemmy.sdf.org 17 points 21 hours ago (7 children)

Two, three or four spaces? If you answer wrong I'll never forgive you

[–] TeamAssimilation@infosec.pub 15 points 20 hours ago

Whatever your place defines as a standard. I’ve seen ugly code in C, JavaScript, Java, etc., that uses them all over the place because they’re not mandatory.

If you don’t have consistent indenting, your code looks like copy/paste from several sources; but if you do have consistent indenting, then the indenting of Python is a non-issue.

load more comments (6 replies)
load more comments (9 replies)
load more comments (19 replies)