There are various ways to add additional rules for input input - bits of logic that a person can apply, but the compiler (obeying the language specification) does not.
Before you suggest updating the language to make type inference more flexible, I highly recommend that you familiarize yourself with the existing specification. If you can understand that it's easy enough that you still think it's worth it to be even more complicated, send the feature request to Connect - but personally, I think it's pretty complicated. I would say that this is much better than in C # 2.0.
To put forward the opposite opinion, however, several languages ââ(especially functional ones) have more powerful type inference mechanisms. There are always pros and cons here - I believe that one of the advantages of the current output system in C # is that it always makes progress or stops, for example - Eric Lippert Blog contains additional information about this and a number of other output problems.
source share