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

Programmer Humor

30090 readers
1968 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
[–] Senal@programming.dev 61 points 4 days ago (5 children)

Significant white-space is bullshit and i will die on this hill.

[–] BlueKey@fedia.io 20 points 4 days ago (1 children)

Is there space left on the hill? I want to join you.

[–] Michal@programming.dev 25 points 4 days ago (2 children)

I hear there's significant space left

[–] squaresinger@lemmy.world 11 points 4 days ago (1 children)

But it's only white space. That's kinda racist.

[–] Senal@programming.dev 4 points 3 days ago

significant white space to it's classist and racist

[–] _stranger_@lemmy.world 1 points 3 days ago

Their whole thing is that they don't want to care about it, so if you get to the hill and there's no space, you're SOL.

[–] Shanmugha@lemmy.world 2 points 2 days ago

You are not alone, my friend

[–] rothaine@lemmy.zip 12 points 4 days ago (2 children)

Yeah I just want JSON with optionally quoted keys, and comments.

[–] bobo@lemmy.ml 7 points 4 days ago

Commas (at least the trailing ones), comments, and nothing else. JSON with type inference seems like an incredibly bad idea...

[–] BlueKey@fedia.io 5 points 4 days ago

JSON5 my beloved

[–] laranis@lemmy.zip 5 points 4 days ago
[–] softwarist@programming.dev -2 points 3 days ago (2 children)
[–] Shanmugha@lemmy.world 2 points 2 days ago* (last edited 2 days ago) (1 children)

Because I am not counting white space when I read. Or should we just write machine code/assembler/pick something straight away?

[–] softwarist@programming.dev 1 points 12 hours ago* (last edited 11 hours ago) (1 children)

Not sure I'm following the jump from significant whitespace to machine code. How are those related?

[–] Shanmugha@lemmy.world 2 points 10 hours ago* (last edited 10 hours ago) (1 children)

Human and machine read differently. If you ignore that (in case with indentation), then why bother with writing human-friendly form of code, when what is going to be really executed is something else?

[–] softwarist@programming.dev 1 points 8 hours ago

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.

[–] 3abas@lemmy.world 3 points 3 days ago (1 children)

Because yaml is not a programming language, and debugging why your whatever you're configuring isn't working correctly can be a nightmare. It doesn't tell you you missed an indent on a block, it just assumes it should be there and changes the meaning.

Braces are visually clear.

[–] softwarist@programming.dev 1 points 11 hours ago

I think YAML has its fair share of design flaws, but I don't think significant indentation is one of them. It may not be a programming language (which may be debatable), but there are plenty that use syntactic whitespace.