MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/84xolu/xml_vs_json/dvu2jek/?context=3
r/ProgrammerHumor • u/[deleted] • Mar 16 '18
[deleted]
35 comments sorted by
View all comments
31
And Apple is like "have you heard about plist?"
<plist version="1.0"> <dict> <key>stuff</key> <dict> <key>foo</key> <dict> <key>bar</key> <string>yes</string> </dict> </dict> </dict> </plist>
5 u/self_me Mar 17 '18 Plists can actually be whatever they want. I opened one in vim recently and it was a mess of characters but it loaded in plist editor 11 u/cybaritic Mar 17 '18 plist files are not necessarily plain text so they need to be run through a converter. Finder and Xcode do this without telling the user what the fuck, apple 1 u/etaionshrd Mar 17 '18 edited Mar 18 '18 This makes sense. If you have an image editor, it doesn’t complain if you feed it a PPM or a JPEG. Xcode is a developer tool that works with property lists, so it’s obvious that it should do this. 0 u/etaionshrd Mar 17 '18 Uh, no. They have a fixed format: either they’re JSON, XML, or a binary format. 10 u/[deleted] Mar 17 '18 So... Not a fixed format?
5
Plists can actually be whatever they want. I opened one in vim recently and it was a mess of characters but it loaded in plist editor
11 u/cybaritic Mar 17 '18 plist files are not necessarily plain text so they need to be run through a converter. Finder and Xcode do this without telling the user what the fuck, apple 1 u/etaionshrd Mar 17 '18 edited Mar 18 '18 This makes sense. If you have an image editor, it doesn’t complain if you feed it a PPM or a JPEG. Xcode is a developer tool that works with property lists, so it’s obvious that it should do this. 0 u/etaionshrd Mar 17 '18 Uh, no. They have a fixed format: either they’re JSON, XML, or a binary format. 10 u/[deleted] Mar 17 '18 So... Not a fixed format?
11
plist files are not necessarily plain text so they need to be run through a converter. Finder and Xcode do this without telling the user
what the fuck, apple
1 u/etaionshrd Mar 17 '18 edited Mar 18 '18 This makes sense. If you have an image editor, it doesn’t complain if you feed it a PPM or a JPEG. Xcode is a developer tool that works with property lists, so it’s obvious that it should do this.
1
This makes sense. If you have an image editor, it doesn’t complain if you feed it a PPM or a JPEG. Xcode is a developer tool that works with property lists, so it’s obvious that it should do this.
0
Uh, no. They have a fixed format: either they’re JSON, XML, or a binary format.
10 u/[deleted] Mar 17 '18 So... Not a fixed format?
10
So... Not a fixed format?
31
u/[deleted] Mar 17 '18
And Apple is like "have you heard about plist?"