1310
Fitbit Clock Face (programming.dev)
submitted 11 months ago* (last edited 11 months ago) by JPDev@programming.dev to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] NegativeLookBehind@kbin.social 47 points 11 months ago
[-] space@lemmy.dbzer0.com 17 points 11 months ago

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

[-] bus_factor@lemmy.world 8 points 11 months ago

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

[-] SubArcticTundra@lemmy.ml 3 points 11 months ago
[-] hansl@lemmy.world 4 points 11 months ago

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

[-] lseif@sopuli.xyz 3 points 11 months ago

who needs backwards compatibility anyway?

[-] lseif@sopuli.xyz 2 points 11 months ago

no but binary formats are really cool when applicable

[-] interolivary@beehaw.org 1 points 11 months ago* (last edited 11 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

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

Programmer Humor

19817 readers
50 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 2 years ago
MODERATORS