Andrey Dyatlov. What’s up with C# 9

Original: https://youtu.be/y0gmG2I-NO4 The new version of the language delivers a bunch of new features. Some of them are probably already familiar to you: source code generators, pattern-matching improvements, records, context-defined new() — while others are probably less known, like changes for nullable reference types and context-defined types in conditional expressions. Perhaps only those of you who do low-level optimisation and work with unsafe code may have heard about skipping the init of local variables, native integer types, and function pointers.There are also a few mysterious features that may be included into C#9 or pushed to the next version of the language. These are new null-checking syntax for parameters and method return type covariance. It is time to figure out scenarios where which of those features truly open new capabilities of the language instead of being some mere syntactic sugar. I will present a few cases showing what to expect from C#9. Andrey has been working for JetBrains for 5 years mostly in charge of C# support in ReSharper/Rider: from parser implementation to static analysis and refactoring. He began his coding journey from SCADA-systems and industrial equipment automation, such as magnetron sputtering and plasma etching sets. He enjoys static code analysis, type theory and metaprogramming. Presentation: https://disk.yandex.ru/i/aXy4Wjs6ywk_yA DotFest: https://2020.dotfest.ru

Иконка канала CodeFest Russia
69 подписчиков
12+
1 просмотр
5 лет назад
12+
1 просмотр
5 лет назад

Original: https://youtu.be/y0gmG2I-NO4 The new version of the language delivers a bunch of new features. Some of them are probably already familiar to you: source code generators, pattern-matching improvements, records, context-defined new() — while others are probably less known, like changes for nullable reference types and context-defined types in conditional expressions. Perhaps only those of you who do low-level optimisation and work with unsafe code may have heard about skipping the init of local variables, native integer types, and function pointers.There are also a few mysterious features that may be included into C#9 or pushed to the next version of the language. These are new null-checking syntax for parameters and method return type covariance. It is time to figure out scenarios where which of those features truly open new capabilities of the language instead of being some mere syntactic sugar. I will present a few cases showing what to expect from C#9. Andrey has been working for JetBrains for 5 years mostly in charge of C# support in ReSharper/Rider: from parser implementation to static analysis and refactoring. He began his coding journey from SCADA-systems and industrial equipment automation, such as magnetron sputtering and plasma etching sets. He enjoys static code analysis, type theory and metaprogramming. Presentation: https://disk.yandex.ru/i/aXy4Wjs6ywk_yA DotFest: https://2020.dotfest.ru

, чтобы оставлять комментарии