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

nothing is stopping adult users from disabling the type checker and using your internal type directly. the newtype is just a private class mechanism that comes with better tooling to validate that you aren't breaking the intended contract.
 help



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

Search: