Elixir Fundamentals interview question · Most asked

What does 'let it crash' mean?

Create a free account to save this page, take notes and track your progress. Sign in

Summary

Instead of handling every unexpected error defensively, let the process crash and rely on a supervisor to restart it in a known-good state. Expected errors are still handled with tagged tuples.

Longer Answer

This keeps code simple and isolates failures, because processes share no memory.

Key Points

  • Supervisors restart failures.
  • Isolation limits blast radius.
  • Handle expected errors explicitly.

Deep dive: Elixir Fundamentals: Let It Crash

More most-asked Elixir Fundamentals questions

← All Elixir Fundamentals questions

Was this page helpful?