~/talk

43 Refactorings in 40 minutes

Talkat AndroidMakers by droidcon 2026 · on Thursday, 2026-04-09· at 16:20· [developer-experience]
slides:none on file

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

  1. 0:00Introduction
  2. 1:28What counts as refactoring
  3. 3:12Refactoring methodology
  4. 4:15First refactorings
  5. 9:06Server and app structure
  6. 13:22App functionality and DB logic
  7. 16:28Flatten result types with early returns
  8. 19:56Refactor while reading code
  9. 20:37Refactor item type and quality ops
  10. 24:05Compound refactorings with switcheroo
  11. 26:34Convert classes to objects/functions
  12. 31:09From fun interfaces to type aliases
  13. 35:05Convert objects to top-level functions
  14. 37:53Bulk refactoring with multicursor
  15. 39:40Refactoring and AI tools
~/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.