~/talk

Eliminating noise in your code

Talkat HackConf 2021 Online edition · 2021-10-22..10-23· [developer-experience]
slides:none on file

Shows concrete refactorings: messy jQuery that checks display, uses class-name-to-id coupling and an unused variable gets rewritten to use nextElement traversal and slideToggle, removing an else and a bug. Explains replacing nested if/else with a map-based dispatch for share icons, points to Boy Scout rule, refactoring book techniques, spotting code smells (duplicate code, long methods, shotgun surgery) and when to spike versus TDD. Practical tips and exact code moves make it worth watching if needing hands-on cleanup steps.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00The problem of noisy code
  3. 6:12Refactoring techniques
  4. 12:23Principles of clean code
  5. 17:19Identifying code smells
  6. 23:12Refactoring patterns
  7. 33:44Managing technical debt
  8. 36:34Q&A session
~/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.