Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Learn Backend Development Part-Time, Online
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore pattern matching techniques in JavaScript through this conference talk from JSConf US 2018. Dive into various approaches including switch statements, ternary operators, object literals, and Redux reducers. Learn how to leverage destructuring, default values, and rest arguments for more efficient code. Discover the similarities between JavaScript's pattern matching and other languages like Elm, Rust, and Elixir. Gain insights on updating state, handling conditionals, and implementing variable assignments using pattern matching. Enhance your JavaScript skills and write cleaner, more maintainable code by mastering these powerful pattern matching concepts.
Syllabus
Intro
Switch Statements
Ternary Statements
Object Literal
Redux Reducers
Switch Statement
Destructuring
Elm
Rust
Elixir
Water Bottle
JavaScript
Default Values
Arrays
Rest Argument
UpdateState
Destructuring Action
Variable Assignment
Node
Conditionals
Where is Pattern Matching
Taught by
JSConf