Mo :ferris: :tux: @ FOSDEM on Nostr: npub1uz2fq…gav4z I can't agree with this too general tip. It depends on the ...
npub1uz2fq7g5d56q8pj6s0wlqnsdwwxhtuhwt4kdw2tffqfz29alrstqggav4z (npub1uz2…av4z) I can't agree with this too general tip. It depends on the context. If something is just a number, then please give me that number without unneeded complexity. But if it has constraints, like an age for example that has to be less than 120 years, then a parsed number into a new type would be much better than hidden validation.
( "parse, don't validate" recommendation: https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/ )
( "parse, don't validate" recommendation: https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/ )