4 ms·
Also, yes, hatred of expecting different behaviors from different verbs is irrational. To be fair, you've kind of rephrased her point into a strawman that's si
by resu_nimda 11y ago
Also, yes, hatred of expecting different behaviors from different verbs is irrational.
To be fair, you've kind of rephrased her point into a strawman that's simply opposed to the abstract concept of verbs.
Most of the time, people understand URLs as a one-to-one mapping - each URL has only one meaning, one website. It's not until you actually start writing code to create or consume an HTTP API that you need to learn the concept of the different verbs. In spoken language you don't become functionally fluent with the language and then some time later have a new concept of verbs introduced. So I can understand why the idea that "actually a URL (the part that everyone sees and knows) can have multiple meanings based on this hidden parameter" can feel wrong.
- andrewstuart2 11y agoIn defense of the way I phrased that, here's the direct middle section of his tweet: "... different behaviors based on the verb..." It's very very deliberately called an HTTP verb, for a reason. It's not that I expect the average person, or even a new developer, should know that HTTP verbs exist or that URLs and URIs literally locate and identify resources in a uniform way. The part that bothers me is that when you deliberately write a blog about the subject that other developers may see and take as credible, you ought to put more effort into making sure your information is accurate before publishing.