3 ms·
Names. The problem always comes down to naming. `StartLine.Verb.GET` is not a good name. Neither StartLine nor Verb are used in that context in the HTTP spe
by beders 3y ago
Names.
The problem always comes down to naming.
`StartLine.Verb.GET`
is not a good name.
Neither StartLine nor Verb are used in that context in the HTTP spec.
The most widely used name for GET/POST etc. is Method.
The author will find that these seemingly small things will hinder adoption.
- deleted 3y ago[deleted]
- ivan_gammel 3y agoAgree. Looking at the example project, this is not a single case, when a name could be better. Helpers and Utils are naming anti-patterns, so naming function ˋ(de)serializeHelperˋ is not a good idea.
- 7ep 3y agoNames. One of the two hard problems in computer science, along with cache invalidation. And off-by-one errors.
- 7ep 3y agoValid point. I was going off documentation like here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages#start_line https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages#s...
- jen20 3y agoThat page uses Method though, and places nouns at equal importance with verbs when describing them?