News for hackers. Stuff that matters.
Re:C# Pattern Matching by moogleii on Tuesday February 04, 2020 @04:32PM (#22241211)
Perhaps because he's somewhat implying that other languages aren't doing this, but C# is actually kind of late to the game here.
Re:C# Pattern Matching by mumblemumble on Tuesday February 04, 2020 @04:53PM (#22241428)
It's not that late to the game, considering its paradigm. How many other large object-oriented imperative languages have it? Not C++ or Objective-C or Java. Kotlin has destructuring, but not full pattern matching.