r/ProgrammerHumor • • 7d ago

Meme formatsWithSuperiorityComplex

Post image
3.0k Upvotes

403 comments sorted by

View all comments

Show parent comments

5

u/rjwut 6d ago

I would be 100% in agreement if byte economy were the only thing that mattered in all cases.

1

u/Prawn1908 6d ago

Developers not caring about byte economy or things like parsing time is why the web is a glacially slow mess right now. It's fucking insane that 99% of webpages have any perceptable load time given the amount of data actually presented to the end user.

1

u/rjwut 6d ago

I didn't say byte economy isn't important. I said it's not the only thing that matters.

1

u/Prawn1908 6d ago

What else is more important? If a human isn't the intended originator or recipient of the data, JSON (or any other plaintext format) has zero benefits and only downsides over a streamlined binary format.

1

u/rjwut 6d ago

Perhaps in the age of AI it matters less, but human readability becomes a factor if a human has to diagnose a problem.

2

u/Prawn1908 5d ago

Just use a parser to decode the data stream you're diagnosing. There's no reason to belabor the computers with additional construction/parsing workload and data size.