|
|
|
|
|
by zem
16 days ago
|
|
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. |
|