YoVDO

You Might Not Need JavaScript Classes

Offered By: Devoxx via YouTube

Tags

Devoxx Courses Web Development Courses Javascript Courses Object-oriented programming Courses Higher-Order Functions Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

Introduction
Opening
Who am I
Agenda
Objectoriented programming
StepCounter
Classes are familiar
False expectations
Counter example
Bind increment method
Class method
Class minification
Prototypes
Factories
Implicit binding
Object Composition
CreateBaseCounter
Functions Toolbox
Higherorder functions
Modules
Problems with classes
React hooks
Beyou example
Lifecycle methods
Base in functions
Recap
You shouldnt use classes
Watch out for
Thank you


Taught by

Devoxx

Related Courses

Functional Programming Principles in Scala
École Polytechnique Fédérale de Lausanne via Coursera
An introduction to Haskell Programming
Chennai Mathematical Institute via Swayam
Kotlin Bootcamp for Programmers
Google via Udacity
From Media Computation to Data Science
SAP Learning
The Modern Python 3 Bootcamp
Udemy