Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hyperturtle
· 3y ago · 0 comments
I also don't prefer using strings, but to be fair, HTTP methods are just strings when the request is received. There is some beauty in that in matches the prefix of the first line of an HTTP packet
Comments
[–]
lucb1e
3y ago
On the wire, everything is a string. Doesn't make it a good type to use!
[–]
cowl
3y ago
Strings with a well defined meaning that is not being taken into consideration here beyond routing.