2 ms·
Answering the headline question: developers love buzzwords and sticking to ideas instead of doing jobs in a way that fits a situation. What bugs me most in thi
by wruza 4y ago
Answering the headline question: developers love buzzwords and sticking to ideas instead of doing jobs in a way that fits a situation.
What bugs me most in this is that ceremonial part. “Pass parameters in urlencoded form, except when GET, then put them into query string”. Wtf? We are clearly doing RPC, not a clerical work. Some APIs may look like documents, e.g. stock market personal order book looks like a collection of signed legal documents, but others do not, e.g. ticker stream, weather info, etc. Can we please stop stretching buzzwords and just settle on RPC, which could be abstracted away into `result = await resource.foo(bar, baz)` instead of processing numerous structured outcomes from network failures to operational errors which have no corresponding http status codes, unless you stretch to the one that sounds similar.