News for hackers. Stuff that matters.
Re:C# Pattern Matching by bob1029 on Tuesday February 04, 2020 @05:48PM (#22241938)
You should try it out sometime, regardless of coercion. There isn't much of a barrier to entry anymore. Even installing VS2019 is a pleasant experience now.

I have yet to meet a developer who gave C# a legitimate try and then decided it was entirely not for them. That said, I only personally know developers who are working in the realm of B2B application development, so perhaps there are other incompatible use cases that I am blind to from my current perspective.

Re:C# Pattern Matching by DaiPlusPlus on Tuesday February 04, 2020 @07:40PM (#22242861)
Data science, vision, etc - this is where Python reigns supreme and using C# is really going against the rest of the industry.

Using OpenCV from .NET is painful, but from Python it feels native.

Re:C# Pattern Matching by totalperspectiv on Tuesday February 04, 2020 @09:29PM (#22243461)
Yeah, this is basically the boat I'm in. Python dominates. You either write it in Python, or maybe get away with writing it in something else and then wrapping it in Python.

I don't mind Python, but now that I've gotten a taste of ADT's and non-nullable types, writing Python feels like a kludge.

Re:C# Pattern Matching by DaiPlusPlus on Wednesday February 05, 2020 @01:53AM (#22244598)
Python (the language) feels more like a less-capable version of JavaScript now - with all of the disadvantages of lacking AOT type-safety (I know static type-checks are now available with 3.6 - but remember that most of the world is still using Python2...).
Re:C# Pattern Matching by heydabop on Wednesday February 05, 2020 @12:18AM (#22244254)
> Even installing VS2019 is a pleasant experience now.

Even more pleasant (imo) is installing VS Code and .NET Core SDK.