logoalt Hacker News

raincoleyesterday at 1:26 PM2 repliesview on HN

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...


Replies

twisterifficyesterday at 1:31 PM

From the PoV of someone who uses C# every day those are very strange things to be upset about.

wvenableyesterday at 5:31 PM

> 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)