Clean Code: Classes - Beau teaches JavaScript

preview_player
Показать описание
Learn the best practices of how to write clean classes in JS. This video tutorial shows you how easy is to write Javascript classes that are readable, reusable, and refactorable. This video covers ES6 classes, method chaining, and composition over inheritance.

Code:
Ryan McDermott’s original article:

⭐JavaScript Playlists⭐

-
We're busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.

Рекомендации по теме
Комментарии
Автор

The only thing i really didn't like was calling prototypal inheritance the bad way. It's maybe harder to understand or read at first, but it's not bad and it's actually THE way javascript does it, and the class keyword is, as everybody has probably read already, syntactic sugar; which is not bad at all, but, just that.
Still, this video is wonderful! I loved the explication about composition and inheritance, really clear.
Thank you!

manualvarado
Автор

Why you use 'const' everywhere instead let?

IllIIllIIIlIIl
Автор

Funny how javascript becomes more and more like Python...

michaelmolter