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?
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?
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"
I hope Record Types will have generated private parameterless constructor and properties with private setters. I want them to work soothly with EF Core.
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.
@@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)
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!"
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?
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?
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"
50:00 so integers now contain a member integer... Human sacrifice, dogs and cats living together, MASS HYSTERIA!
You can also release videos that are short and crisp.
I hope Record Types will have generated private parameterless constructor and properties with private setters. I want them to work soothly with EF Core.
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.
Nullable reference types - finally!
Awesome
Please make presenter smaller and presentation bigger.
That feature is coming in C# 8.1
In 9, I hope they do a breaking change and remove goto, which is the grandchild of the devil!!!
You could write a Roslyn analyser to give an error if you try to use a goto.
@@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)
@@frankhaugen Nice.
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!"
Jealous much?
@@craigbeaumontable fuff...
That diving suit that was visible for 15s really got to you, eh 😁?
Nob
It's gotta suck being so angry about everything