GridVids
Sign in with YouTube

Ramón Guijarro - You Might Not Need Classes

Mark watched
Don't Miss
Hide
Open in popup Open on YouTube

You Gotta Love Frontend 7 years ago

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

Slides: http://slides.com/soyguijarro/javascript-classes/#/