Making Impossible States Impossible in C#

Friday, Aug 8 11:30 AM - 12:30 PM Room D2

Description

An introductory talk on Discriminated Unions in C# and how they can be used today to:

1. squash bugs by preventing application states that should be Impossible to get into (preventing boolean hell)
2. make application state cleaner and easier to reason about.

Attendees will be shown code that was refactored to use Discriminated Unions - as bugs were popping up due to new Product Requirements.