~/talk

Estruturas condicionais do JavaScript

Talkat BrazilJS Conf 2024 · 2024-04-25..04-26· [javascript]
slides:none on file

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

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.