“This may be an unpopular opinion due to JavaScript’s immense popularity, but it’s often quite a mess to work with in reality. By design, JavaScript encourages anti-patterns such as the use of global variables and JavaScript’s type coercion approach often baffles developers when the results are unexpected,” said Jack Mannino, the CEO of nVisium, via email.

Mannino suggested that TypeScript resolves a number of the drawbacks of JavaScript although it is not widely used at the moment.

Read entire article here