All variables in the source code should have an associated type.
The data type of a variable defines the kind of data it can hold, such as integers, floating-point numbers, characters, strings, or custom data structures. Explicit typing contributes to type safety, ensuring that operations on variables are performed with appropriate types. This can help to properly catch potential errors.
This requirement is verified in following services
Plan | Supported |
---|---|
Essential | 🔴 |
Advanced | 🟢 |