News for hackers. Stuff that matters.
Re:C# Pattern Matching by 0xdead on Tuesday February 04, 2020 @04:23PM (#22241132)
Why are you being downvoted?
Re:C# Pattern Matching by dang on Tuesday February 04, 2020 @04:56PM (#22241452)
Re:C# Pattern Matching by trianglem on Tuesday February 04, 2020 @06:48PM (#22242443)
Thank you for making this a productive space. You are getting paid for this right?
Re:C# Pattern Matching by dang on Tuesday February 04, 2020 @07:44PM (#22242890)
Yes. Actually that fact is more interesting than it looks.

It's all of our good fortune that it's in YC's interests to fund HN just as it is, with the moderators' primary job being to keep it interesting and hopefully keep the community happy. If HN were a startup, we would have to play the growth-hacking game. If it were the media property of some larger corporation, some manager would eventually put a monetization squeeze on it. Either of those tactics would ruin this place, whether or not they succeeded.

YC doesn't need us to do such things because a happy HN is the most valuable-to-YC HN. It's basically an accident—a dual accident of how YC's business works and how things historically developed—that we ended up in that spot. It's a special position to be in, and our first responsibility is to preserve it. Hence our motto, Move slowly and preserve things.

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.