3 ms·
I love that the most popular language's core lib now brings a trivial bit of code available in every other platform and its a celebrated super achievement soft
by mariogintili 5y ago
I love that the most popular language's core lib now brings a trivial bit of code available in every other platform and its a celebrated super achievement
software, why do you suck now?
- jmull 5y agoI don't think you understand this. e.g., here's your "trivial" API's spec. Then there are the intentional deviations for CORS, e.g., which there is no spec for. https://fetch.spec.whatwg.org https://fetch.spec.whatwg.org Not to mention the Fetch API isn't available on every other platform... maybe you're thinking of the general ability to make HTTP requests, but nodejs had that from the start.
- feupan 5y agoIt’s not trivial and it’s not groundbreaking. Node has had an HTTP client since its inception, this is just a different API. It’s “great” just because it’s a decent abstraction that’s also available in browsers. The issue in the JavaScript ecosystem for this kind of stuff is that it runs on two very different environments and they need time to find solutions that work for all the parties involved.