Hacker News new | ask | show | jobs
by ffsm8 608 days ago
TIL that Excel saves files as source code, as xlsx is XML
1 comments

Is that supposed to be sarcastic? If a HTML source counts as „source code“, the excel file should count, too, right?
It just depends on the way the file is actually is in practice.

For xslx you basically get a XML file with a single tag, which then contains the whole content as a binary blob, stored in an attribute.

Just like you can make an svt that is essentially a single path tag with hundreds of numbers in a single attribute

And for the record, you can also do a single html tag with a gigantic inline blob binary. Calling that source code is just at best technically correct, because it practically isn't