Types Checked at Compile Time

Back to Static Typing

The compiler verifies type correctness before the program executes. Type mismatches are reported as compile errors, ensuring that a successfully compiled program is free of type errors (within the limits of the type system).

type-systems static compile-time