Skip to content
scrambled
Programming Language Theory Flashcard

Why are type systems a valuable maintenance tool?

Books Decktype theory

Question

Why are type systems a valuable maintenance tool?

Answer

When you refactor, some function signatures or variables' types may change, a type system would catch most locations that the refactor may miss.