2min chapter

Signals and Threads cover image

Language design with Leo White

Signals and Threads

CHAPTER

Is Dependent Types the Best Option?

Ocamel programmers are in some sense spoiled. They're used to the fact that there's a large class of errors that the type system just automatically captures for them. But when you start doing these kind of encoding tricks to add extra rules into the type system, they end up being kind of free-floating and it's very easy to just screw it up. You think you've encoded some permissioning thing correctly and you could just get it wrong. And it's very hard to notice that you got it wrong. It sounds like having something that's kind of more organized around dependent types would ground this kind of coding. So it'd be less likely to just be wrong in a silent

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