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

Yes. This is exactly what we do at work.

It makes sure that you never pass a `LocationId` where a `UserId` is expected; the type system literally will not allow it.



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

Search: