Rustacean Station  cover image

Leptos with Greg Johnston

Rustacean Station

CHAPTER

Using Algebraic Data Types in JavaScript

elm is more like you have to do this no matter what, rather than like Rust you can choose to opt out kind of right I mean elms big claim is basically if you write a program in elm you will have zero runtime errors. And the language makes it almost impossible and they'll admit that once they wrote one at what's called no red ink or something. But I think they claim okay we haveruntime error once and it was we were using the API wrong and it was sort of our fault. In Rust because their sense of safety right again it's compiling a JavaScript so memory safety isn't really concerned and it's in a browser which is sandboxed their idea of safety

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