Coffeehouse Post

Single Post Permalink

View Thread: F# Object Expressions for C#
  • exoteric

    Do you have a compelling use-case for it?

    If I had to pick something from F# then Object Expressions would definitely not top the list. More like discriminated unions or the Scala equivalent. But even without those it's entirely possible to survive, using polymorphism and the visitor design pattern instead of pattern matching.