Most of the new features are terrific; some cause me to wonder why though. Are we really saving anything by removing the need to implement IDisposable and just have a Dispose method? Seems like we're pushing it towards duck-typing and that can bring its own set of woes. Same goes for Deconstruct - is the compiler just looking for a method of that name to map to? Would it not have been better to have an IDeconstructable interface and allow classes to opt in that way?
@vmilev5 жыл бұрын
Record Types unfortunately seems to have been dropped from C# 8.0. Any ideas if it is still planned for C# 8.x minor update, or it will be in C# 9 and beyond?
@Grimlock19795 жыл бұрын
46:14 "I would vote for the 1st one because they don't have to introduce any new keywords" It still introduces the "not" keyword, haha. Anyway, I think the 1st one is the only good option. If you have && or || with a mix of "is" and "is not" you run into the same problem again with "unless"
@rubeushagrid41313 жыл бұрын
You can also release videos that are short and crisp.
@acf28025 жыл бұрын
50:00 so integers now contain a member integer... Human sacrifice, dogs and cats living together, MASS HYSTERIA!
@dmitrij345 жыл бұрын
Not a fan of deconstruct pattern(presented use cases are literally unreadable, but maybe other nicer ones will pop up), but property pattern seems cool.
@dmitrij345 жыл бұрын
Nullable reference types - finally!
@VoroninPavel5 жыл бұрын
I hope Record Types will have generated private parameterless constructor and properties with private setters. I want them to work soothly with EF Core.
@UPSCCSE-ku7ej4 жыл бұрын
Awesome
@isrcast015 жыл бұрын
Please make presenter smaller and presentation bigger.
@alexclark67775 жыл бұрын
That feature is coming in C# 8.1
@frankhaugen5 жыл бұрын
In 9, I hope they do a breaking change and remove goto, which is the grandchild of the devil!!!
@darcyfreakthomas5 жыл бұрын
You could write a Roslyn analyser to give an error if you try to use a goto.
@frankhaugen5 жыл бұрын
@@darcyfreakthomas oh, I have a custom PowerShell script I run on my projects pre-build, that checks line count and words like goto, region etc. (If you're code needs regions, it's time to refactor)
@darcyfreakthomas5 жыл бұрын
@@frankhaugen Nice.
@loam5 жыл бұрын
The guy just loves to show himself off: Ugh, look at me, I'm in a diving suit, I can dive and swim, wow, I'm so cool! Ugh, I fixed broken link in the github account of C#, wow, AMAZING, I'm soooo in love with myself! And why the fuck would you show the picture in the diving suit, when talking about C#, it's like "Ugh, I'm sorry, don't have any regular photos, so here's the one with diving suit for NO FUCKING REASON!"
@craigbeaumontable5 жыл бұрын
Jealous much?
@loam5 жыл бұрын
@@craigbeaumontable fuff...
@totalermist5 жыл бұрын
That diving suit that was visible for 15s really got to you, eh 😁?