Strongly typed language

Updated: 04/26/2017 by Computer Hope

strongly typed computer languageA programming language that requires a variable to be defined as well as the variable it is. For example, C is a strongly typed language, when declaring the variable you must also specify the variable type. In the following example, the test variable is declared as an integer in the first line, the second line as a floating point, and the third line or character.

int test = 25;
float test = 2.3;
char test = 'e';

The opposite of a strongly typed language is a loosely typed language, such as Perl.

Loosely typed language, Programming terms