Re:Parsix: Parse Don't Validate
by StreamBright on Saturday May 15, 2021 @04:19PM
(#27168611)
Interesting naming. Strongly typed languages (especially in the ML family) have best practices that include using types instead of strings as function parameters. Email type itself is enough to skip validation in each function accepting that particular type.
I think this is great first step using functional languages but you can go much much deeper than that.
I think this is great first step using functional languages but you can go much much deeper than that.
https://www.slideshare.net/ScottWlaschin/the-power-of-compos...