Oct 19, 2018

Static types eliminate bugs

With JavaScript, you are in a dynamically typed system. This means that your types are only checked at runtime. This means that until the application is run, you don't really know if you've added a typo or some other mischievous error in your code.

With static types, your code is compiled and checked before it is ever run, so you catch errors like typos before your users run into them.