~/talk

Syntactic Sugar - Diabetes Alert

Talkat CityJS Conf 2019 · 2019-05-01..05-03· [javascript]
slides:none on file

ES6 features improve readability but can hurt performance and maintainability when overused: benchmarks show filter + map is ~50% slower than a single for loop on large arrays (tests use ~100,000 elements), array.length = 0 clears arrays far faster than repeated pops, spreading objects copies unexpected properties, and adding fields creates hidden class churn from adding properties in V8. Babel can expand sugar into many operations. Recommend targeted benchmarks, rookie code reviews, and clear component docs.

AI-written summary · about

  1. 0:00Introduction to syntactic sugar
  2. 1:50What is syntactic sugar
  3. 2:53Syntactic sugar examples
  4. 5:23When sugar is sweet
  5. 8:18Optional chaining benefits
  6. 9:01Array literal syntax
  7. 11:48Overuse of syntactic sugar
  8. 12:11Debugging complex syntax
  9. 14:24Spread operator pitfalls
  10. 16:31Filter and map performance
  11. 20:53Synchronous JavaScript impact
  12. 21:16Spread operator control issues
  13. 23:31Babel and browser support
  14. 24:54Hidden classes and performance
  15. 26:25Dynamic property addition
  16. 28:14Avoiding class misuse
  17. 30:02Side effects and reviews
  18. 31:49Code review importance
  19. 32:32Writing clear concise code
  20. 33:42Documentation best practices
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.