DotNet&More #159: Union в C# и не только - podcast episode cover

DotNet&More #159: Union в C# и не только

Sep 26, 20251 hr 9 minSeason 5Ep. 159
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

На прошлом стриме Вы спрашивали, зачем нужны Union в будущем C#. Нам показалось, что наш ответ недостаточен, так что самое время выделить этой теме отдельный выпуск.


Спасибо всем, кто нас слушает. Ждем Ваши комментарии.


Музыка из выпуска: 

- https://artists.landr.com/056870627229

- https://t.me/angry_programmer_screams


Весь плейлист курса "Kubernetes для DotNet разработчиков": https://www.youtube.com/playlist?list=PLbxr_aGL4q3SrrmOzzdBBsdeQ0YVR3Fc7

Бесплатный открытый курс "Rust для DotNet разработчиков": https://www.youtube.com/playlist?list=PLbxr_aGL4q3S2iE00WFPNTzKAARURZW1Z


Shownotes: 

00:00:00 Вступление

00:05:00 Unions уже сейчас в C# 

00:13:20 Что такое Union

00:16:40 Как Visitor заменяет Union 

00:25:45 Зачем бекендеру Union?

00:34:50 enum как симптом необходимости в Union

00:43:20 Union в C#15


Ссылки:

- https://youtu.be/jRJa83DeOd8?si=nlWtm_rY0et23bDy&t=3745 : Union в C# 

- https://en.wikipedia.org/wiki/Discriminated_union : Discriminated union

- https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/discriminated-unions : В F# 

- https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types : В Typescript 

- https://doc.rust-lang.org/book/ch06-01-defining-an-enum.html : В Rust 

- https://kotlinlang.org/docs/sealed-classes.html : В Kotlin 

- https://docs.oracle.com/en/java/javase/17/language/sealed-classes-and-interfaces.html : И даже в Java


Видео: https://youtube.com/live/ItNZ3tKhzxs

Слушайте все выпуски: https://dotnetmore.mave.digital

YouTube: https://www.youtube.com/playlist?list=PLbxr_aGL4q3R6kfpa7Q8biS11T56cNMf5

Twitch: https://www.twitch.tv/dotnetmore


Обсуждайте:

- Telegram: https://t.me/dotnetmore_chat


Следите за новостями:

– Twitter: https://twitter.com/dotnetmore

– Telegram channel: https://t.me/dotnetmore


Copyright: https://creativecommons.org/licenses/by-sa/4.0/

For the best experience, listen in Metacast app for iOS or Android