4min chapter

Happy Path Programming cover image

#65 Rod's Gambit - Spring, Scala, TypeScript, and Chess with Rod Johnson

Happy Path Programming

CHAPTER

The Importance of Gradual Typing in Python

I'm totally addicted to it at this point. Python type in's I use them exclusively. The ternary operator really does annoy me because I end up having to only use TS ignore or do it as any which is like ugly. In TypeScript and I've only done a little bit of TypeScript so I don't have a very good understanding of a lot of language parts of it but does TypeScript have the ability to do let's say you're doing a if if else and you have two different types that are returned between the the true and the false? Does TypeScript turn that into an ADT some type of those two types. So TypeScript will know if if there

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