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.