Wednesday 

Room 6 

11:40 - 12:40 

(UTC±00

Talk (60 min)

Advanced Pattern Matching in C#

All "real" functional languages support Pattern Matching - that's not really true, but it is correct that aspects of a functional programming style benefit from elegant and syntactically compact case distinction. Microsoft worked on Pattern Matching as a C# feature in at least three major language versions!

Functional Programming
Programming Languages

In this talk, Oliver demonstrates how C# Pattern Matching works, why this evolution of the old imperative "switch" is so important, and how the structure of C# code can be generally different from the past on the basis of this feature. As a conclusion, he proves that C# can now pattern match with the best, by porting some F# code as well as a complex Haskell algorithm.

Oliver Sturm

Oliver Sturm is Training Director at DevExpress. In the last 30 years he has gathered vast experience as a software developer and architect, consultant, trainer, speaker and writer. He is a frequent presenter and keynote speaker at international events and lives in rural Scotland. He's been awarded as a Microsoft MVP for 11 years, and he's a Docker Captain.