Skip to content
scrambled
Programming Language Theory Flashcard

Why is the property that static types are checked at compile-time is valuable?

Books Decktype theory

Question

Why is the property that static types are checked at compile-time is valuable?

Answer

  • Programs may be expensive/unsafe/destructive to run.

  • Runtime tests cannot cover all the state space.