News for hackers. Stuff that matters.
Re:REST in Peace. Long Live GraphQL by tomc1985 on Monday July 24, 2017 @01:25PM (#14840560)

  "who in their right mind would use XML over JSON today?"
Lost me already... there are lots of reasons to still use XML today. And since someone is going to ask, here are some:

* you want to use xpath

* you want to communicate with an enterprise app (salesforce, magento, etc)

* you need strongly-typed message-passing in a human-readable well-understood format (rules out messagepack, etc)

* nobody actually documented the API, but they might have a WSDL

Re:REST in Peace. Long Live GraphQL by jmakeig on Monday July 24, 2017 @03:38PM (#14841911)
Or your data is…you know…mark-up. Imagine a biology textbook, or legal contract, with inline citations and entities. There’s lots of marked-up human text around, even if that’s not what you’re sending to a JavaScript front-end. (Ironically, all of our JavaScript front-end frameworks are ultimately building mark-up as documents for human consumption.)
Re:REST in Peace. Long Live GraphQL by cobythedog on Monday July 24, 2017 @02:11PM (#14841083)
I read that too and assumed the author was confining that to the type of development they do. Either way it comes off a ignorant and even a little rude.