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

It's also pointless to care about types in fine-scoped code. Like if your language forces me to assert that i is an integer like this, something is wrong...

  for (int i = 0; i < n; i++) 
And when I'm writing backends, usually there will be no types anywhere except at the API layer, i.e. OpenAPI spec or protocol buffers. Not once have I encountered a bug related to accidental wrong types that wasn't caught at this outermost layer.


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

Search: