3 ms·
There's a lot to be gained by isolating the place where the validation needs to be done, and the source of the bugs could be to one place though. Would you rath
by p1necone 6y ago
There's a lot to be gained by isolating the place where the validation needs to be done, and the source of the bugs could be to one place though. Would you rather have one bit of code that checks 1<=X<=5, or 100 call sites all doing the same thing slightly differently?
- skybrian 6y agoThere ways to do that without type system level hacking.