The post discusses different approaches to validation in .NET, highlighting both bad and improved methods. It covers the issues with common validation techniques—such as returning a Boolean or an enumerable of strings—and proposes alternative solutions, including using functional programming principles and the 'either' monad for cleaner and more maintainable code. It also explains the pros and cons of the fail-fast and comprehensive validation approaches.

14m watch time

Sort: