~/talk

Inheritance vs Composition

links:none on file
slides:none on file

Compares class-based inheritance to functionally composed pipes and finds composition easier to evolve: initial popover UI spawns five brittle subclasses, markdown rendering forces forking to add truncation, and jQuery sortable lacks hooks for creating drag gaps. Recommends separating state from behavior and passing a small state object through pure functions, implemented with React and Redux, aided by Ramda, applied during a slow migration from Backbone while serving 4.5 million users, and noting issues with jQuery sortable.

AI-written summary · about

  1. 0:00Introduction to Meister Labs
  2. 1:02Legacy tech challenges
  3. 2:13The limitations of inheritance
  4. 5:18Adopting react for UI
  5. 7:15Challenges with third-party code
  6. 9:03The concept of composition
  7. 10:43Applying composition in JS
  8. 12:35Data-driven UI management
  9. 14:15Summary and best practices
  10. 15:26Functional programming in JS
  11. 17:30Q&A and company opportunities
~/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.