News for hackers. Stuff that matters.
Re:Official proposal for Type Unions in C# by orthoxerox on Friday August 09, 2024 @03:47AM (#41199647)
When I have to use Scala, I am always confused by the amount of magic that is happening behind the scenes. It's so much magic that even the best IDEs become confused with me. C# is smarter in that regard: 99% of useful syntax is method calls, and typing the dot doesn't drown you in overly generic suggestions.

From what I've seen, Scala3 is better in this regard (at least the magic part), but I since Spark doesn't support it yet, my exposure to it has been limited.

Re:Official proposal for Type Unions in C# by pjmlp on Friday August 09, 2024 @10:05AM (#41201955)
There is enough magic with attributes, code generators, dynamic, reflection and expression trees.

Thing is the community doesn't reach that often to them.