~/talk

Break all the rules

Talkat JSConf EU 2012 · 2012-10-06..10-07· [javascript]
github:angus-c
slides:none on file

Argues that seemingly forbidden features actually solve real problems and then shows concrete examples: Chrome devtools use the with statement to shadow console helpers, eval and the Function constructor power console evaluation and fallback JSON parsing, underscore and prototype.js use controlled scope tricks and an array constructor trick to repeat strings, jQuery relies on == for convenient null/undefined checks, ES5 shims and ES6 let tradeoffs appear, and performance and scope limitations are measured and mitigated in each case.

AI-written summary · about

  1. 0:00Intro
  2. 2:03Why this talk
  3. 2:53Stack Overflow
  4. 3:37Rules
  5. 4:30Does anyone know
  6. 6:15Rules are barriers
  7. 7:13Singapore
  8. 8:07Wikipedia
  9. 8:38Quiz Statement
  10. 9:47Strict Mode
  11. 11:17Why is it useful
  12. 12:53Blockscope
  13. 15:10eval
  14. 16:18nojsonpass
  15. 17:14console
  16. 19:59pastjson
  17. 20:35underscorejs
  18. 21:47equals
  19. 23:23equals equals
  20. 25:12array constructor
  21. 28:17semicolons
~/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.