C# 8 and Beyond - Filip Ekberg

preview_player
Показать описание
One of the most popular programming language on the market is getting even better. With every iteration of C# we get more and more features that are meant to make our lives as developers a lot easier.

Join me in this session to explore what's new in C# 8, as well as what we can expect in the near (and far) future of C#!

We'll talk about:
- News in C# 8
- Pattern Matching (incl. Record Types)
- Nullable Reference Types and How to Avoid Null Reference Exceptions
- How Async & Await is Improving

Check out more of our talks in the following links!

NDC Conferences
Рекомендации по теме
Комментарии
Автор

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?

vmilev
Автор

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"

Grimlock
Автор

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?

alexclark
Автор

50:00 so integers now contain a member integer... Human sacrifice, dogs and cats living together, MASS HYSTERIA!

acf
Автор

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.

dmitrij
Автор

You can also release videos that are short and crisp.

rubeushagrid
Автор

I hope Record Types will have generated private parameterless constructor and properties with private setters. I want them to work soothly with EF Core.

VoroninPavel
Автор

Please make presenter smaller and presentation bigger.

isrcast
Автор

In 9, I hope they do a breaking change and remove goto, which is the grandchild of the devil!!!

frankhaugen
Автор

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!"

loam