3 ms·
This is an optional feature we're talking about, isn't it? You won't be forced to use it. It's been in C# for a few versions, and you do find there are places
by bmm6o 11y ago
This is an optional feature we're talking about, isn't it? You won't be forced to use it.
It's been in C# for a few versions, and you do find there are places where it always makes sense to use (foreach loops), and there are places where you want to use some judgement. Of course all variables still have a type, it's just not made explicit in the source code, so you can get your IDE to tell you what it is (e.g. by hovering).
- gravypod 11y agoIf it is made available it will be used. That's kind of a golden rule: build it and they will come. If this is widely adopted, I'd say that there will be a lot of problems that stem from it. That's why I say this shouldn't be a feature.