this post was submitted on 17 Dec 2025
485 points (96.2% liked)
Programmer Humor
27983 readers
810 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Almost any language is OK, but Rust is just so, so fucking ugly
FORTRAN isn't a beauty either.
And Python is strange as hell with its mandatory tabs.
You can use spaces in Python.
Two, three or four spaces? If you answer wrong I'll never forgive you
collapsed inline media
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.
Per the Linux kernel coding style:
I’m rather partial to five myself but only when I’m feeling fancy.
Yes
No one will ever know. That is my editor's job. XD
Depends on the mood.
Indentation-driven control flow is one of the most cursed things ever invented, excluding things explicitly designed to inflict pain or death.
White space sensitive languages are evil.
Haskell has the choice of both indentation based and brackets for things like
doblocks, but most people use indentation based cause it's the norm and looks cleaner