Strongly typed vs loosely typed languages<\/p>\n
What is it and what’s the difference<\/p>\n
Some programming languages have more checks at the compile time (while building the code), and have checks on method calling, data types, return types and so on<\/p>\n
In short you cannot ‘loosely’ use variable types and change them on the go<\/p>\n
Examples of such languages would be Java and C#, each variable must be declared with a specific datatype<\/p>\n
The opposite off course is loosely typed, where there are no such checks on the compile time<\/p>\n
A major reason for that is some languages don’t have to be ‘compiled’ to build code<\/p>\n
Such an example would be JavaScript, these languages are called ‘interpreted’ languages<\/p>\n
In JavaScript’s example, it’s code is mostly used in browsers, and that’s one of the reasons why some websites look different<\/p>\n
They can ‘interpret’ the same JavaScript code differently.<\/p>\n
So, mostly ‘compile time’ languages (e.g. Java, C#..) would be ‘Strongly typed’, and ‘interpreted’ languages (e.g. JavaScript) would be ‘loosely’ typed<\/p>\n<\/div>