35 - Statically Typed
Solidity is a statically-typed language, which means that the type of each variable (state and local) needs to be specified in code at compile-time.
This is unlike dynamically-typed languages where types are required only with runtime values.
Statically-typed languages perform compile-time type-checking according to the language rules.
Other examples are C, C++, Java, Rust, Go, Scala.
- Variable Type -> Specified
- Compile-time
- Vs. Dynamically-typed
- Types -> Runtime Values
- Compile-time -> Type Checking
- Other Exampples: C, C++, Java, Rust, Go, Scala