~/talk

Gilded Rose Refactoring Kata

Talkat KotlinConf 2023 Day 2 · on Tuesday, 2023-04-25· [kotlin, developer-experience]
slides:none on file

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

  1. 0:00Introduction to the challenge
  2. 1:28Understanding requirements
  3. 2:20Analyzing the test code
  4. 3:52Initial code improvements
  5. 5:32Code coverage and analysis
  6. 6:31Attempting risky refactoring
  7. 7:45Refactoring techniques
  8. 10:36Improving readability
  9. 12:33Field usage analysis
  10. 14:12Inverting conditionals
  11. 17:34Encapsulating mutation
  12. 21:22Adding the new feature
  13. 23:54Refining the design
  14. 27:33Implementing immutability
  15. 30:57Retro and design lessons
  16. 33:43IDE shortcuts and plugins
  17. 35:50AI in refactoring
  18. 38:23Conclusion and resources
~/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.