Re:.NET Core 3.0 Concludes the .NET Framework API Porting Pr...
by moron4hire on Tuesday October 15, 2019 @08:43AM
(#21257769)
You can't return an anonymous type, but the syntactic difference between an anon type and a tuple is two characters: parens instead of curly braces.
[ Parent
| on HN ]
Re:.NET Core 3.0 Concludes the .NET Framework API Porting Pr...
by Faark on Tuesday October 15, 2019 @04:05PM
(#21263072)
And the little "new" in front of it. I actually preferred the curly braces version and would have loved for them improve it instead of creating a replacement.
And well, I'd expect them to get it right eventually. It is at least their third evolution of that feature... there was a System.Tuple as well. Wonder if they ever come out and officially deprecate their earlier attempts.
Re:.NET Core 3.0 Concludes the .NET Framework API Porting Pr...
by SideburnsOfDoom on Wednesday October 16, 2019 @09:00AM
(#21269852)
> Wonder if they ever come out and officially deprecate their earlier attempts.
That (mostly) doesn't happen.
I would say that .NET Core was the sole attempt to deprecate a lot of the framework. And most of it came back anyway; see the title of the parent article.