Borrowing Techniques from Strongly Typed Languages in JavaScript

added by JavaScript Kicks
9/3/2014 9:26:19 AM


In this article we’ll discuss how you can use techniques from strongly typed languages in your JavaScript code. The techniques introduced will both reduce bugs in your code, and allow you to reduce the total amount of code you need to write. Although this article uses JavaScript as the example, you can also apply these techniques to most other languages with weak typing.