News for hackers. Stuff that matters.
Re:Explore union types in C# 15 by raincole on Wednesday April 08, 2026 @09:26AM (#47689935)
Union is almost a net positive to C# in my opinion.

But I do agree. C# is heading to a weird place. At first glance C# looks like a very explicit language, but then you have all the hidden magical tricks: you can't even tell if a (x) => x will be a Func or Expression[0], or if a $"{x}"[1] will actually be evaluated, without looking at the callee's signature.

[0]: https://learn.microsoft.com/en-us/dotnet/csharp/advanced-top...

[1]: https://learn.microsoft.com/en-us/dotnet/csharp/advanced-top...

Re:Explore union types in C# 15 by twisteriffic on Wednesday April 08, 2026 @09:31AM (#47689989)
From the PoV of someone who uses C# every day those are very strange things to be upset about.
Re:Explore union types in C# 15 by wvenable on Wednesday April 08, 2026 @01:31PM (#47693496)
> you can't even tell if...

In the places where that is a thing, I've never needed to care. (Which is kind of the point)