~/talk

Metaprogramming for generalists

Talkat EuRuKo 2018 · 2018-08-24..08-25· [ruby]
slides:none on file

Claim: metaprogramming’s power is that it translates unknowns into code, letting libraries speak the domain language rather than forcing apps to call generic setters. Demonstration: knockout example removes define_method/instance_eval and makes attribute names visible; restore metaprogramming and the abstraction becomes invisible again. Built a reusable equaliser using define_method and send to generate ==, hash and inspect for Address and GPSLocation; this pattern becomes the dry-equaliser gem, showing the approach works.

AI-written summary · about

  1. 0:00Start
  2. 5:05Points about Me
  3. 5:53Generalist Meta Programming
  4. 10:10Why Is Meta Programming So Prevalent in Our Libraries
  5. 13:19Knockout
  6. 24:53The Best Ways To Write Flexible Software Is To Write Generic Software
  7. 29:17Method Arguments
  8. 30:10Create a Gem
  9. 32:39Dry Equalizer
~/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.