2022-12-17 @Matthias Valvekens
Functional data validation: to monad or not to monad?
“Make invalid states unrepresentable” is an oft-repeated adage in software design, particularly popular in languages with expressive type systems. It’s good advice, and it generally leads to cleaner code bases with fewer opportunities for bugs to creep in.