4 ms·
How they jump into the article without explaining or even expanding what the CORS acronym stands for.
by billfruit 5y ago
How they jump into the article without explaining or even expanding what the CORS acronym stands for.
- kindall 5y agoIf you don't already know what CORS is, you're probably not a Web developer and don't need to know.
- Waterluvian 5y agoI think this is misguided reasoning. Everyone starts somewhere, and the hallmark of reasonably competent writing is a ramp-up. Whether it’s one sentence or one chapter. I think failing to define acronyms is a violation of just about any style guide out there. Communication is a majority of engineering so I think these things are very important.
- hsbauauvhabzb 5y agoTo be fair, there are many web devs who have never needed to worry about cross origin resource sharing
- soniczentropy 5y agoHow do you become one of those kind instead of smashing your face against CORS constantly
- adminscoffee 5y agoi think the purpose of cors is to slowly make web devs go insane. but yeah, more coors less cors
- hsbauauvhabzb 5y agoLegacy developers would be the biggest group.
- 5e92cb50239222b 5y agoUsually the same ones who then download plugins like https://addons.mozilla.org/en-US/firefox/addon/access-control-allow-origin/ https://addons.mozilla.org/en-US/firefox/addon/access-contro... because properly configuring the backend is ¨too complicated¨. Been there, done that.
- hsbauauvhabzb 5y agoYou can use the origin announce headers from Firefox to block cors also, unsure if that works with chrome. But I was referring to legacy code (or those whose SPA is stored on the same domain as API endpoints).
- nuerow 5y ago> If you don't already know what CORS is, you're probably not a Web developer and don't need to know. This is an appallingly poor and misguided take, and goes against the most basic rules of writing technical documents. Docs need to be clear, unambiguous, and self-contained. The very first time a acronym is presented, it must be after the full name is presented. It takes less than a sentence to do the right thing. There is no excuse.
- mrweasel 5y agoSometimes OPS people get the job of fixing CORS for developers who don't understand how it works exactly. I work with a client who built a web app in... Vue, I think. For unknown reasons they decided that it would be better that the APIs they need to call to live on the same domain. At the same time, the developers decided that the API microservices should not return CORS headers. Instead it was left to operations to hack in CORS headers in the webserver/loadbalancer.
- codetrotter 5y agoIt means Cross-Origin Resource Sharing. You can read about it at https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS I agree though that it is good practice to say what acronyms mean when using them.
- jaffathecake 5y agoAuthor here! I added a small reference to the acronym in the article, but I don't think it really matters. I actually forgot what it stands for the other week, but it didn't prevent me understanding it. And relearning the acronym didn't help me understand it more.
- billfruit 5y agoThank you. I was just nitpicking, there.
- jaffathecake 5y agoAt least the expansion of the acronym isn't actively harmful to understanding what it is, unlike AJAX, JAMStack etc etc
- humbleMouse 5y agoI’m pretty sure “Cross Origin Request” is extremely helpful for people learning this concept. It literally describes exactly what is happening.