Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



On the wire, everything is a string. Doesn't make it a good type to use!


Strings with a well defined meaning that is not being taken into consideration here beyond routing.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: