this post was submitted on 14 Jan 2024
1367 points (98.1% liked)

Programmer Humor

19564 readers
1364 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
1367
Fitbit Clock Face (programming.dev)
submitted 10 months ago* (last edited 10 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 10 months ago (14 children)
[–] [email protected] 81 points 10 months ago (8 children)

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

[–] [email protected] 46 points 10 months ago (2 children)
[–] [email protected] 17 points 10 months ago (2 children)

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

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

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

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

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

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

who needs backwards compatibility anyway?

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

no but binary formats are really cool when applicable

[–] [email protected] 1 points 10 months ago* (last edited 10 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

load more comments (5 replies)
load more comments (10 replies)