Please enable JavaScript.
Coggle requires JavaScript to display documents.
Programming Languages, Advance Java Programming (Linkedin), e.g, Java, e.g…
Programming Languages
Static typed
-
-
Complex code, make the coad harder to read
-
-
-
-
-
Strong
In python, which is dynamic but strongly typed can not accept coercion.
Week
var a = "Asif"; a + 2; //output Asif2 - in JS, adding number after converts its type with string called type coercion. This pitfalls can be resolved by static typing in JS using Typescript. It just added extra feature on top of Javascript and it has its own compiler to convert ts to JS. To run TS compiler, we need Node runtime to allow it work outside web or browser.
-
-
-
-