this post was submitted on 14 Jan 2024
1365 points (98.2% liked)

Programmer Humor

19149 readers
1225 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
1365
Fitbit Clock Face (programming.dev)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 59 points 8 months ago (5 children)
[–] [email protected] 81 points 8 months ago (1 children)

Please, dont joke with things like this. Someone might take you seriously...

[–] [email protected] 47 points 8 months ago (2 children)
[–] [email protected] 17 points 8 months ago (2 children)

Let's go back to binary blobs. Everything being xml and json is boring.

[–] [email protected] 8 points 8 months ago (1 children)

I have just the thing for you! Ever heard of binary XML?

[–] [email protected] 3 points 8 months ago (1 children)
[–] [email protected] 4 points 8 months ago

MKV (the video container file format) uses binary XML. Look it up.

[–] [email protected] 3 points 8 months ago (1 children)

who needs backwards compatibility anyway?

[–] [email protected] 2 points 8 months ago

no but binary formats are really cool when applicable

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

XML has a bad rap because people went a bit (ok a lot) overboard with it in the early years, pretty much like what happens with a lot of other technologies, but as far as structured and human-readable data formats with good schema and tooling support go, it's pretty much unbeatable. Now that JSON is the New Good Tech and XML is the Old Bad Tech, too many developers use JSON where XML would absolutely make more sense, and then we end up with unholy abominations like Portable Text, which is JSON pretending to be XML, and is so incredibly verbose and monumentally stupid that it feels like some sort of joke esolang data format rather than something being used in a production system. But no, here we are, god is dead and JSON is XML.

XML is terrific for building eg. structured markup languages with more complex markup than what something like Markdown can provide, and have the resulting files be comparatively readable, at least in comparison to the JSON-based alternatives – compare HTML to Portable Text, for example. XML has such a bad reputation – partially deservedly – that people just automatically assume it's not a valid tool for anything modern, even when the modern "NoSQL", "structured and typed data is for nerds, suck it" JSON solution is a giant pile of shit compared to the XML alternative

[–] [email protected] 46 points 8 months ago

here you dropped your whitespace 🤏

[–] TxzK 8 points 8 months ago* (last edited 8 months ago) (1 children)

yaml sucks. I'd like a toml one

[–] [email protected] 11 points 8 months ago

I exclusively use YATL: Yet Another TomL.

[–] [email protected] 3 points 8 months ago

Sexpr master race!