this post was submitted on 09 Oct 2026
869 points (97.7% liked)

Programmer Humor

33565 readers
1016 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 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] rumschlumpel@feddit.org 34 points 1 day ago (3 children)

Python developer: LOL. LMAO

[–] LeFrog@discuss.tchncs.de 39 points 1 day ago (8 children)

as a fellow Python user, I fucking hate significant whitespace. Also YAML. WTF they where thinking

[–] TwilightKiddy@scribe.disroot.org 22 points 1 day ago (1 children)

There were plenty of blanks in their thoughts.

You could even say they had plenty of space in their heads.

[–] Get_Off_My_WLAN@fedia.io 11 points 1 day ago (1 children)

I will take YAML's string blocks where I don't have to escape special characters over JSON any day.

[–] rtxn@lemmy.world 3 points 19 hours ago* (last edited 19 hours ago)

I will take a hammer to my balls if it means I never have to use <![CDATA[ again.

[–] Sibbo@sopuli.xyz 8 points 1 day ago

It's to make students actually format their code correctly

[–] esc@piefed.social 5 points 1 day ago (1 children)

They are alright, yaml problems are overblown, significant whitespace as well.

[–] we_need_more_dwellings@piefed.world 5 points 1 day ago* (last edited 1 day ago) (1 children)

Whitespaces are not problem at all. But YAML values parsing rules, uh boy...

[–] esc@piefed.social 3 points 1 day ago

There is pyyaml, probably other libraries, that take the pain away.

[–] rtxn@lemmy.world 5 points 1 day ago* (last edited 1 day ago)

...that modern systems should stop sucking at parsing leading whitespaces.

[–] rockSlayer@lemmy.blahaj.zone 3 points 1 day ago* (last edited 1 day ago)

I don't really have a solution for the whitespace issue, but you could always switch to TOML

[–] rumschlumpel@feddit.org 2 points 1 day ago* (last edited 1 day ago)

Significant whitespace is the best! I don't understand why so many people have issues with it.

[–] MalReynolds@slrpnk.net 1 points 1 day ago
[–] OddMinus1@sh.itjust.works 4 points 1 day ago

Don't worry, I'm a Java dev, and I'll replace the whitespace in my indentations with semicolons. That should keep us sufficiently covered with semicolon usage.

Python is the jazz of programming languages. It's about the characters you don't type.