Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zem
1 day ago
|
parent
|
context
|
favorite
| on:
Opaque Types in Python
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: