News for hackers. Stuff that matters.
Re:Do more with patterns in C# 8.0 by adossi on Thursday January 24, 2019 @02:44PM (#18992196)
I've been a .NET developer for a decade (a paid one for the last 6 years) and I consider myself a pretty competent C# programmer.

However (and maybe I'm alone here) the property and positional patterns syntax just honestly isn't very intuitive to me. It may be that because its a new feature it is just alien to me but nonetheless it is really hard to immediately discern what is happening in those examples without having read the descriptions that accompany them. I'm worried C# is on an ever-creeping path to looking like an alien language, as is (in my opinion) what is happening to C++ (e.g.: C++14 and C++17 features).

Re:Do more with patterns in C# 8.0 by squirrelicus on Thursday January 24, 2019 @03:12PM (#18992456)
I love seeing my favorite language get this constant attention.

Now all we need is structural typing like golang so I don't have to explicitly tell the compiler that a class implements an interface.

Re:Do more with patterns in C# 8.0 by imranhou on Sunday January 27, 2019 @10:09PM (#19015126)
It looks like this one is sacrificing readability for unnecessary terseness.