Using tuples for validations
Many functional techniques are proving their ground in C# codebases. One of my favorites is the Result type. The most basic form consists of a boolean flag indicating success and an array of errors. But in many cases, tuples are just enough.
I fall ...
blog.ciechowski.net2 min read