2min snip

Swift by Sundell cover image

117: “Swift 5.7, generics, and the road to Swift 6”, with special guest Ben Cohen

Swift by Sundell

NOTE

Generic Polymorphism Is The Right Choice

generic is not always the right choice, but it is the right choice when you want that kind of polymorphism. And now that we can use the generic system in a much easier way, i think developers might just make more use of it in general. It makes the generic system so much more accessible and easy to learn. The real challenge with sub type polymophism is that it fundamentally is based around type a rate a, right? Like you are raised to the super type.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode