|
xml is much better than json.
|
# ? Nov 12, 2014 22:27 |
|
|
# ? Jun 11, 2024 15:03 |
|
although i dont know why you'd even care, you're just calling out to your language's stdlib's ser/des arent you
|
# ? Nov 12, 2014 22:27 |
|
Bloody posted:although i dont know why you'd even care, you're just calling out to your language's stdlib's ser/des arent you there's a big gray area between data and config that often needs to be human-readable, so visual noise matters
|
# ? Nov 12, 2014 22:30 |
|
if you gotta edit it by hand json is better. otherwise it literally doesn't matter cause you're just doing json_decode($butt) or new SimpleXMLElement($butt) e: obv you should strive to never edit it by hand
|
# ? Nov 12, 2014 22:30 |
|
if you need human-editable objects you should embrace a gui
|
# ? Nov 12, 2014 22:32 |
|
bloody it must be really nice for you to live in a perfect world where you and everyone you do business with embraces best practices and you never have to do anything ugly like look at/edit a request to some lovely api by hand to see what's loving up
|
# ? Nov 12, 2014 22:33 |
|
Bloody posted:if you need human-editable objects you should embrace a gui god forbid that we interact with text via tools designed for interacting with text
|
# ? Nov 12, 2014 22:33 |
|
Tiny Bug Child posted:bloody it must be really nice for you to live in a perfect world where you and everyone you do business with embraces best practices and you never have to do anything ugly like look at/edit a request to some lovely api by hand to see what's loving up it is really nice
|
# ? Nov 12, 2014 22:33 |
|
the secret is that i am the only person who writes software in a sea of electrical and mechanical engineers. i am god
|
# ? Nov 12, 2014 22:34 |
|
my only enemy and nemesis is bloody 6 months ago, who is a loving idiot
|
# ? Nov 12, 2014 22:34 |
|
yesterday morning i was working with some baltic dude with a SMS billing company who was trying to figure out why he couldn't get through the HTTP authentication on a callback script we set up for them. he was sending the username and password in "username" and "password" form data fields. i just changed the script, and he thanked me for fixing our bug.
|
# ? Nov 12, 2014 22:40 |
|
Tiny Bug Child posted:if you gotta edit it by hand json is better. otherwise it literally doesn't matter cause you're just doing json_decode($butt) or new SimpleXMLElement($butt) lol if you can't write a wsdl from scratch in 4 different styles by hand in vi
|
# ? Nov 12, 2014 22:44 |
|
hepatizon posted:lol at the nursing home residents who can't let XML go lol at the adhd teenagers who believe that constantly reinventing the wheel makes it better every time editing xml by hand is great if you're using a schema-aware editor, it's like static typing for data files and it owns
|
# ? Nov 12, 2014 22:49 |
|
lol at the literal children who can't understand why schemas and validation are important
|
# ? Nov 12, 2014 22:50 |
|
hepatizon posted:god forbid that we interact with text via tools designed for interacting with text yes, like pencil and paper throw all computers away. bonus: no more config files
|
# ? Nov 12, 2014 22:52 |
|
Notorious b.s.d. posted:lol at the literal children who can't understand why schemas and validation are important postel's principle bitch
|
# ? Nov 12, 2014 22:54 |
|
No schema, no validation, no inline comments It's the perfect config file format! XML blows too, just differently.
|
# ? Nov 12, 2014 22:54 |
|
Notorious b.s.d. posted:lol at the literal children who can't understand why schemas and validation are important that's why ASN.1 should have remained the standard.
|
# ? Nov 12, 2014 23:11 |
|
MononcQc posted:that's why ASN.1 should have remained the standard. ah, ASN the multi-headed beast, all of which are ugly but in their own special snowflake way
|
# ? Nov 12, 2014 23:19 |
|
Postel Was Wrong.
|
# ? Nov 12, 2014 23:29 |
|
Tiny Bug Child posted:postel's principle bitch postel's principle gave us html and json in the first place edit: really what postel's principle degenerated to is "ehhh gently caress it." the web didn't reach for the brass ring of "worse is better," we just embraced "worse is worse and that's ok gently caress it ship it"
|
# ? Nov 13, 2014 00:03 |
|
yaml is the way and the light and the resurrection
|
# ? Nov 13, 2014 00:04 |
|
xml is Too Verbose. there, i said it.
|
# ? Nov 13, 2014 00:04 |
|
KARMA! posted:xml is Too Verbose. there, i said it. no one has ever asserted that xml is aesthetically more pleasing or more pleasant to write by hand. those are not items up for debate. it is obvious that yaml and json are more pleasant for human beings to interact with via notepad. unfortunately that is not the core use case for document interchange formats.
|
# ? Nov 13, 2014 00:05 |
|
KARMA! posted:xml is Too Verbose. there, i said it. except its not. it is precisely as verbose as it needs to be
|
# ? Nov 13, 2014 00:06 |
|
shitface posted:except its not. it is precisely as verbose as it needs to be
|
# ? Nov 13, 2014 00:09 |
|
Notorious b.s.d. posted:postel's principle gave us html and json in the first place yup i know you said that like it's supposed to be a bad thing but it's not
|
# ? Nov 13, 2014 00:10 |
|
a massive idiot missing the point posted:i know i said i was going to swap your engine out but it was pretty hard so i just pedals in instead. it's simpler
|
# ? Nov 13, 2014 00:28 |
|
Shaggar posted:json is really bad and is only for browsers. shaggar was right
|
# ? Nov 13, 2014 00:36 |
|
DimpledChad posted:yaml is the way and the light and the resurrection yaml, like xml, will bite you in the rear end because it's a complex format that has features that most people don't know about in yaml's case, it's the handy remote execution feature that owned ruby on rails at least three times in a row yaml library authors consistently manage to make this feature unguarded and enabled by default, so i've concluded that yaml is a format for clowns at the serialization circus
|
# ? Nov 13, 2014 00:40 |
|
xml is bad but json is worse
|
# ? Nov 13, 2014 00:58 |
|
JewKiller 3000 posted:xml is bad but json is worse
|
# ? Nov 13, 2014 01:05 |
|
JewKiller 3000 posted:xml is bad but json is worse
|
# ? Nov 13, 2014 01:20 |
|
yaml is the only popular format that's actually easy to hand-edit in a dumb text editor, but everything else about it is terrible :| toml seems ok but isn't very popular outside of a handful of go apps (like confd)
|
# ? Nov 13, 2014 01:47 |
|
go owns gowns
|
# ? Nov 13, 2014 01:59 |
|
abraham linksys posted:toml seems ok but isn't very popular outside of a handful of go apps (like confd) lol no lessons learned
|
# ? Nov 13, 2014 02:52 |
|
rust uses toml for its package manifests
|
# ? Nov 13, 2014 05:09 |
|
Notorious b.s.d. posted:
|
# ? Nov 13, 2014 06:13 |
|
i just skimmed past four hundred posts and there was one deeply analyzing c++ compiler output and i can't be hosed to read it but if you have any questions let me know ok peace
|
# ? Nov 13, 2014 07:47 |
|
|
# ? Jun 11, 2024 15:03 |
|
rjmccall posted:i just skimmed past four hundred posts and there was one deeply analyzing c++ compiler output and i can't be hosed to read it but if you have any questions let me know ok peace so visual studio 2015 ships with clang, that's pretty neat, right?
|
# ? Nov 13, 2014 09:12 |