|
|
|
|
|
by awesome_dude
253 days ago
|
|
Hmm, I was really pointing at the fact that once you get past a couple of pieces of user input, all the validation in the world isn't going to save you from the range constraints. Assuming you want a good faith conversation, then the idea that there's bad math involved seems a bit ludicrous |
|
This together with the fact that the main benefit of range types is on the consumption side (ie knowing that a PositiveInt is not 0) and it is doable to use try-catch or an equivalent operation at creation time