ADVERTISEMENT

Strong and Weak Type Systems

strongly typed system is one that does not allow the conversion of data types during execution, in case there is a mismatch. For instance, if “18” is presented for an integer variable instead of 18, the system raises an error. Perl, Ruby, Python and Pascal are examples of strongly typed systems. 

In a Weakly typed system, the program allows flexibility to a certain degree for data type conversion. Such conversion may involve conversions from char to strings, integers to strings, decimals to integers or floats and so on. Shell, JavaScript, C, C++, and SQL are some examples of weakly typed systems.

TAGS:

Comments

What do you think?

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Learn More

Related Posts

From Kaṇāda to Rutherford: Tracing the Evolution of Atomic Theory

From Kaṇāda to Rutherford: Tracing the Evolution of Atomic Theory

The evolution of atomic theory is a long and winding road that has been travelled by some of the greatest minds in history. It began with the ancient Indians in 600 BC who gave the concept of “Parmanu” to Greeks who first proposed that matter was made up of tiny, indivisible particles. The 19th and 20th centuries saw significant advances in our understanding of atoms.

read more
Share This