Validation to encode our business rules. It’s a different way of thinking. It uses the Scalaz library.
More discussion on Hacker News, and the Clojure, Haskell, Rust and Programming subs on Reddit.
Over the last few years of maintaining code old and new at REA, it has become abundantly clear that the neglect and misuse of type-systems has had a sharply negative impact on our codebases. Here we address the concrete causes and consequences, and propose concrete and achievable solutions.
Types at REA