this post was submitted on 09 Sep 2024
417 points (96.2% liked)

Programmer Humor

19623 readers
2369 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] blackstrat@lemmy.fwgx.uk 17 points 2 months ago (26 children)

XML is a superior format to Json or yaml or any of those other trendy formats around today. It's the hill I'm willing to die on because I'm right.

[–] anyhow2503@lemmy.world 91 points 2 months ago (7 children)

XML aims to be both human-readable and machine-readable, but manages neither. It's only really worth it if you actually need the complexity or extensibility, otherwise it's just a major pain to map XML structures to any sensible type representation. I've been forced to work with some of the protocols that people like to present as examples of good XML usage and I hate every single one of them.

Fuck YAML though. That spec is longer and more complex than any other markup language I know of and it doesn't have a single fully compliant implementation.

[–] youRFate 24 points 2 months ago

Ye, we like to use toml for configuration files etc.

load more comments (6 replies)
load more comments (24 replies)