this post was submitted on 24 Feb 2026
522 points (97.8% liked)

Programmer Humor

30129 readers
1611 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
[–] softwarist@programming.dev 1 points 1 day ago (1 children)

If anything, that sounds like an argument in favor of significant indentation, not against it. Humans and machines read differently, yes, which is why we tend to add whitespace and indentation to code even for programming languages where it's not significant. We do that expressly because it makes the code more human-friendly, so it's quite the opposite of ignoring their differences.

[–] Shanmugha@lemmy.world 0 points 22 hours ago (1 children)

No, it is an argument against it. We indent code so that it is more comfortable to read it, not in order to make it easier to understand

[–] softwarist@programming.dev 1 points 20 hours ago (1 children)

You're mistaken:

Indentation is a secondary notation that is often intended to lower cognitive load for a programmer to understand the structure of the code.

[–] Shanmugha@lemmy.world 1 points 20 hours ago (1 children)

Lol. Go on, show me how it is easier to understand structure of the code when I am 3 levels down, first two are already out of sight

[–] softwarist@programming.dev 1 points 19 hours ago (1 children)

That's not a coherent argument, but you don't have to agree with me. I think this discussion has run its course.

[–] Shanmugha@lemmy.world 1 points 6 hours ago

What a nice way to say "I can't back my standpoint up". Anyway, do have a good day