There are many common mistakes that are made when changing from a language like C# in to JavaScript - mistakes that everyone makes during this transition, including me. From code that avoids prototypal inheritance while constructing new objects, to global variable and function leaks, these mistakes are easy to make because JavaScript lets you make them and still runs your application's code. But there are hidden troubles, small bits of danger in what looks like innocent code, and unnecessary complications in code that can be greatly simplified.
This episode will show you how to correct many of those mistakes by writing idiomatic JavaScript and using common JavaScript patterns. You'll learn about some of the differences between C# and JavaScript, and see how to correct the code that comes from a statically typed mindset, in a dynamic language environment.
Not a C# developer? No problem! The principles and patterns applied in this episode are equally as valuable and understandable to Java, Ruby, C++, JavaScript and other developers that want to see some real-world examples of putting common JavaScript patterns in place.