890
;;;;;; (lemmy.nz)
you are viewing a single comment's thread
view the rest of the comments
[-] LeFrog@discuss.tchncs.de 39 points 2 days ago

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

[-] TwilightKiddy@scribe.disroot.org 23 points 2 days ago

There were plenty of blanks in their thoughts.

[-] SwooshBakery624@programming.dev 7 points 2 days ago

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

[-] Get_Off_My_WLAN@fedia.io 11 points 2 days ago

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 1 day ago* (last edited 1 day ago)

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

[-] Sibbo@sopuli.xyz 8 points 2 days ago

It's to make students actually format their code correctly

[-] esc@piefed.social 5 points 2 days ago

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

[-] we_need_more_dwellings@piefed.world 5 points 2 days ago* (last edited 2 days ago)

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

[-] esc@piefed.social 3 points 2 days ago

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

[-] rtxn@lemmy.world 5 points 2 days ago* (last edited 2 days ago)

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

[-] rockSlayer@lemmy.blahaj.zone 3 points 2 days ago* (last edited 2 days ago)

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

[-] rumschlumpel@feddit.org 2 points 2 days ago* (last edited 2 days ago)

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

[-] MalReynolds@slrpnk.net 1 points 2 days ago
this post was submitted on 09 Oct 2026
890 points (97.7% liked)

Programmer Humor

33571 readers
983 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