this post was submitted on 17 Dec 2025
464 points (96.0% liked)

Programmer Humor

27933 readers
616 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 20 points 2 days ago (24 children)

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

[–] bleistift2@sopuli.xyz 19 points 2 days ago (12 children)
[–] marduk@lemmy.sdf.org 19 points 2 days ago (8 children)

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

[–] TeamAssimilation 15 points 1 day 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 (7 replies)
load more comments (10 replies)
load more comments (21 replies)