You Might Not Need JavaScript Classes

More than three years later, the introduction of classes to the ECMAScript standard for JavaScript is still a controversial topic. Brought over from popular classical object-oriented languages, they have not only been argued an unnecessary feature for JavaScript, but their usage can become actually harmful very easily. This talk looks at the potential issues and pitfalls of using classes, like the need for context binding of methods, and suggests alternative patterns that are conceptually simpler, easier to work with, safer to use, more idiomatic, require less code and are actually more powerful. It is time to realize that all you really need in JavaScript are functions!

Video producer: