~/talk

Back to the future of JS: the next features and amazing proposals

Talkat FrontEnd Con 2018 · 2018-12-04..12-05· [javascript]
slides:none on file

Shows concrete syntax and tradeoffs: a bind operator (::) fixes unpredictable this for event handlers without manual .bind or arrow wrappers; two pipeline designs compare a smart pipeline with placeholder token (#) and an F#-style |> that handles async/await differently; partial application adds argument placeholders like ? and ... to produce smaller-arity functions; pattern matching introduces match/case with guards and catch-alls. Proposals sit in early TC39 stages and are not yet production-ready.

AI-written summary · about

  1. 0:00Start
  2. 3:20How to make this predictable?
  3. 4:28Calling a knowing function
  4. 5:12Extracting a method from an object
  5. 5:50Two syntaxes
  6. 6:05Unary syntax
  7. 10:14Function with more params
  8. 10:47Awaiting a function
  9. 11:45Smart pipeline
  10. 12:35What about curry?
  11. 12:57F# pipeline proposal
  12. 15:45Partial application in ES
  13. 16:51What about currying?
  14. 18:02Partial application proposal
  15. 18:26Partial application syntax
  16. 18:57With arbitrary parameter
  17. 19:11Partial application in template string
  18. 20:32Partial application + pipeline
  19. 21:08Conditionals in JS
  20. 22:39Switch Statement
  21. 24:57Ternary expressions
  22. 26:21Toy example
  23. 29:52Should I use all of it in production?
~/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.