4 ms·
>I don't think C# has been as careful with its abstractions and the general aesthetic of the language to the degree that Java has You say "careful", others wou
by LordDragonfang 6y ago
>I don't think C# has been as careful with its abstractions and the general aesthetic of the language to the degree that Java has
You say "careful", others would say "stubborn". The refusal to add things like operator overloading lead to a much less aesthetically pleasing language to read and write.
- aardvark179 6y agoI can understand the resistance to traditional operator overloading, but something like implementing a Monoid interface which specifies operator methods might work. I think the sort of value types that people are likely to implement with Valhalla will make the case for this much stronger.
- sproketboy 6y agoBrian has already said that a static set of operators for classes extending Number is on the roadmap. That's all that's required. Arbitrary operator overloading is a terrible idea.