Estruturas condicionais do JavaScript
summary
Outlines how JavaScript conditionals trade structure for expressiveness: switch case keeps the decision‑tree shape but lacks expressivity, if/else offers expressivity but not tree structure, and ternary is the only conditional that is also an expression. Presents the pattern‑matching proposal that introduces a new is operator and custom guards to fill those gaps, links directly to the proposal repo and spec draft, and shows the proposal as a language design direction rather than a shipped, widely supported feature.
AI-written summary · about
related talks
32mPattern matching in JavaScript
28mPattern Matching in JS
26mBack to the Future of JS II
25mBack to the future of JS II: Beyond what we can foresee
31mBack to the future of JS: the next features and amazing proposals
52mJavaScript Design Patterns
15mJavaScript: Getting Closure
29mBack to the future of JS: the next features and amazing proposals
