Gilded Rose Refactoring Kata
summary
Live coding of the Gilded Rose kata in Kotlin shows step‑by‑step refactorings, IntelliJ refactorings and custom plugins, GitHub‑hosted code and test regressions, and a working feature: conjured items degrade twice as fast is implemented and tests stay green. Tests, code coverage and small commits guide changes, mutation of fields gets pushed out into immutable copies, and practical shortcuts and IDE tips are demonstrated so the live edits actually build and pass.
AI-written summary · about
chapters (18)
- 0:00Introduction to the challenge
- 1:28Understanding requirements
- 2:20Analyzing the test code
- 3:52Initial code improvements
- 5:32Code coverage and analysis
- 6:31Attempting risky refactoring
- 7:45Refactoring techniques
- 10:36Improving readability
- 12:33Field usage analysis
- 14:12Inverting conditionals
- 17:34Encapsulating mutation
- 21:22Adding the new feature
- 23:54Refining the design
- 27:33Implementing immutability
- 30:57Retro and design lessons
- 33:43IDE shortcuts and plugins
- 35:50AI in refactoring
- 38:23Conclusion and resources
related talks
42mGilded Rose Refactoring Kata
35mRefactoring Frenzy - Don't settle for short term
37m47 Refactorings in 45 minutes
01h 34mGilding the Rose: Refactoring-Driven Development
01h 14mLimited Work-in-Progress for Developers
41m43 Refactorings in 40 minutes
48mThree Principles To Bring Your Legacy Code Into the Future
15mKotlin for Test Automation
