43 Refactorings in 40 minutes
summary
Live coding on a Kotlin server project demonstrates 43 refactorings in 40 minutes, using IntelliJ IDEA’s hidden actions (often via Alt‑Enter reveals hidden refactorings) plus a custom progress‑bar/refactor counter and a TCR workflow (TCR (test and commit or revert)). Viewers see concrete edits: rename, convert class→object, convert fun interface→type alias, extract/inline, operator refactors, move across files, and tests auto‑committing or auto‑reverting, proving the sequence works end‑to‑end.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:28What counts as refactoring
- 3:12Refactoring methodology
- 4:15First refactorings
- 9:06Server and app structure
- 13:22App functionality and DB logic
- 16:28Flatten result types with early returns
- 19:56Refactor while reading code
- 20:37Refactor item type and quality ops
- 24:05Compound refactorings with switcheroo
- 26:34Convert classes to objects/functions
- 31:09From fun interfaces to type aliases
- 35:05Convert objects to top-level functions
- 37:53Bulk refactoring with multicursor
- 39:40Refactoring and AI tools
related talks
37m47 Refactorings in 45 minutes
07mOne Thousand and One Stories: a Large-scale Survey of Software Refactoring
01h 14mLimited Work-in-Progress for Developers
44mThe Art of Refactoring
39mLet the IDE do that for you
54mGet better at Refactoring
44mBe more productive with IntelliJ IDEA
46mHow we’re improving performance of IntelliJ IDEA Kotlin plugin
