3min chapter

 Rustacean Station  cover image

Rust for Rustaceans by Jon Gjengset

Rustacean Station

CHAPTER

Why Is It Better to Have the Compiler Tell You This Is Wrong?

Many developers would rather have a seg vault during runtime than to have a compile error. I think part of this is because they're overly confident that it won't crash later and so if you give them an error at compile time they go this is not a problem wise the compiler not just doing what I tell it to. In general for things like prototyping it is a hindrance to getting something that you can run right but there is a balance here which is maybe where it's a little bit more of a gray area whether it's actually good or not.

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