Pattern Matching in JS
Offered By: JSConf via YouTube
Course Description
Overview
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
Related Courses
Deno - Next Generation JavaScript RuntimeJSConf via YouTube How I Got 1600 Stars on GitHub in 2 Months of Open Source Work
JSConf via YouTube Is it Okay to Pursue Functional Programming on Frontend - JSConf Korea
JSConf via YouTube If - Extensible Design - Return "Work Life Balance"
JSConf via YouTube React x Web Components - How It Is and How It Could Be
JSConf via YouTube