Eliminating noise in your code
summary
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
chapters (8)
- 0:00Introduction
- 1:00The problem of noisy code
- 6:12Refactoring techniques
- 12:23Principles of clean code
- 17:19Identifying code smells
- 23:12Refactoring patterns
- 33:44Managing technical debt
- 36:34Q&A session








