“Gilded Rose” refactoring kata in Ruby — as if it is 2024

from blog zverok's space, | ↗ original
A “stories-first” approach to refactor a small yet complicated piece of business code Recently, I didn’t have time or resource for serious writing. I had plans for several long articles for the summer that gone, but unfortunately not many have came of that. But last night I have stumbled upon famous (so it seems, though I have never seen it...