4 ms·
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
by zem 5mo 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.