3 ms·
Also submitted a couple months ago. Only got a few comments back then: https://news.ycombinator.com/item?id=15211604 https://news.ycombinator.com/item?id=15211
by bjt 8y ago
Also submitted a couple months ago. Only got a few comments back then: https://news.ycombinator.com/item?id=15211604 https://news.ycombinator.com/item?id=15211604
The first sentence of TFA captures one of the most annoying things about REST discussions: "In this manifesto, we will give a specific definition of what REST is, according to Roy, and see the majority of APIs and API specs (JSONAPI, HAL etc) fail to follow this model."
At this point I've read or heard dozens of claims like this, that almost everyone is doing REST wrong. It's well past time to stop blaming all the REST implementers in the world for being too dumb to understand Fielding's brilliant vision. If most software developers can't get REST right, then either proponents have consistently done a crappy job explaining the idea, or it's not as great an idea as they think.
Skimming the table of contents, it looks like the authors have thought deeply about the problems with REST and come up with some well-reasoned solutions. So they're answering the "REST vs Introspected REST" question. But much more relevant to me is the "Introspected REST vs GraphQL" question. What would make someone choose this over GraphQL? Introspected REST has a lot of catching up to do to match GraphQL's tooling and market share.
- eecc 8y agoWell the problem with revolutionary (take this adjective literally) ideas is that most other won’t understand their essential differences and bend them back into familiar perspectives. In the case of REST, it has been mistreated as SOA-WS for JSON or an RPC for SPAs... hardly anyone bothers with res links. I would add that hardly anyone bothers with rdf json, while hurriedly reinventing the XML Schema horror movie ;)
- vasilakisfil 8y agoAuthor here: The problem with GraphQL is that it has to re-invent everything on top of HTTP. Introspected REST reuses HTTP properties and architecture by default, making more robust and compatible with existing clients. Also related: https://news.ycombinator.com/item?id=18425581 https://news.ycombinator.com/item?id=18425581