3 ms·
> PSD was never intended to be a data interchange format And that's the basic design flaw - it is a data interchange format despite not being designed as one,
by SideburnsOfDoom 14y ago
> PSD was never intended to be a data interchange format
And that's the basic design flaw - it is a data interchange format despite not being designed as one, and the terrible job that it apparently does at it. The people who wrote it didn't recognise that they were going to be filling that need. There's a lesson in there somewhere.
- TeMPOraL 14y ago> There's a lessen in there somewhere. Greetings. I have arrived from the future to spare mankind more years of pain by stating it clear here that the lesson is not "serialize your data to XML".
- lmm 14y agoNo? It seems to be working up well enough so far for e.g. ODT, or indeed the web. A file format that might need to be read in 20 years seems like one of the few cases where the super-verbose XML style is actually appropriate.
- TeMPOraL 14y agoI'm all for super-verbosity in useful information and flexible structure, but XML is also super-verbose in terms of redundant markup. Compression helps a bit, but it still costs processing power for no real reason. See the good ol' S-expressions vs. XML discussion, recently reincarnated as JSON vs. XML.
- Evbn 14y agoJSON is not where one gos to flee verbosity. It is almost identical to XML, save punctuation.
- SideburnsOfDoom 14y agoHm, interesting. Could you explain why the decision to use (zipped) XML in the current MS Office document formats was a mistake? Those document formats are huge hideous beasts, but that's due to backward compatibility with large feature sets, and I don't think that moving off XML would help. PS: I fixed the typo in "lesson"
- TeMPOraL 14y agoThe deicision was a big step forward; however, moving off XML to an equivalent but less verbose (in number of meaningless bytes) format wouldn't hurt. All else being equal, it would be less electricity wasted on reading and sending things over the wire, and also more human-readable format. See also: SEXP vs. XML. This argument applies the more, the bigger markup-to-data ratio is.
- brudgers 14y agoThe wide availability across numerous platforms of robust libraries and tools for manipulating XML along with its standardization and the ubiquity of its implementation might have played a role in Microsoft's decisions.
- JoeAltmaier 14y agoits zipped; nothing is wasted.
- TeMPOraL 14y agoBut to read it you have to first unzip it, and then parse all that fluff.
- SideburnsOfDoom 14y agoSee also the "wide availability across numerous platforms of robust libraries and tools" to do this, and do it quickly.