~/talk

Metaprogramming in JavaScript

TalkinSpanishat JSDayES 2015 · on Saturday, 2015-05-09· [javascript]
slides:none on file

Shows concrete metaprogramming techniques in JavaScript: adding/extending properties, using proxies and forwarding versus delegation, and a small extend/rename library as proof of concept. Explains setPrototype, noSuchMethod, closures and partial evaluation, and demonstrates runtime-built artifacts (a dynamic balancer and a debounce) that operate on real objects using before/after/around interception to decorate methods.

AI-written summary · about

  1. 0:00Metaprogramming in JS
  2. 1:25Programming vs metaprogramming
  3. 2:51Compositive vs generative
  4. 5:45Adaptation and transformation
  5. 7:10OOP and functional fusion
  6. 9:16Object flexibility in JS
  7. 11:01Dynamic binding in JS
  8. 13:07Inheritance as delegation
  9. 14:31Polymorphism and protocols
  10. 15:58Dynamic context with closures
  11. 17:23Reflection and error handling
  12. 18:31Higher-order programming
  13. 20:19Metaprogram as transformation
  14. 21:41Modifying objects
  15. 22:47Prototype extension
  16. 24:17Method interception
  17. 26:44Delegation vs forwarding
  18. 29:15Critique of classic patterns
  19. 30:43Metaprogramming examples
  20. 32:09Observer pattern
  21. 33:55Interface simulation
  22. 35:39Dynamic load balancing
  23. 37:05Encapsulation
  24. 39:11Design patterns
  25. 40:39Architectural flexibility
  26. 42:09Aspect-oriented programming
  27. 43:33Maintainability issues
  28. 44:59Subjective programming
  29. 46:26Metaprogramming paradigms
~/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.