Главная
Study mode:
on
1
Introduction
2
Opening
3
Who am I
4
Agenda
5
Objectoriented programming
6
StepCounter
7
Classes are familiar
8
False expectations
9
Counter example
10
Bind increment method
11
Class method
12
Class minification
13
Prototypes
14
Factories
15
Implicit binding
16
Object Composition
17
CreateBaseCounter
18
Functions Toolbox
19
Higherorder functions
20
Modules
21
Problems with classes
22
React hooks
23
Beyou example
24
Lifecycle methods
25
Base in functions
26
Recap
27
You shouldnt use classes
28
Watch out for
29
Thank you
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Explore the potential drawbacks and alternatives to using JavaScript classes in this 40-minute conference talk from Devoxx. Delve into the controversial topic of classes in ECMAScript, examining issues like context binding of methods. Discover alternative patterns that are conceptually simpler, safer, more idiomatic, and potentially more powerful. Learn about object-oriented programming, prototypes, factories, object composition, higher-order functions, and modules as alternatives to classes. Gain insights into the implications of using classes in React and how hooks offer a different approach. Understand when to be cautious about using classes and consider more functional programming paradigms in JavaScript development.

You Might Not Need JavaScript Classes

Devoxx
Add to list
0:00 / 0:00