de en es fr nl pl pt sv zh

refactoring

EuRuKo Refactoring Workshop

Fritz Meissner

I gave a workshop at EuRuKo 2025 based on the noisy animals code kata. The title was “How to improve your own and others’ code”. A PDF of my slides is here. You can find a recording of an earlier version of the workshop that I gave at the July 2025 London Ruby User Group meeting.

Reasons not to refactor

Fritz Meissner

Refactoring is a wonderful practice for making code and change easier to manage. That said, here are some reasons why we should not proceed with a refactor. 1. The change is not really a refactor Many people use the word “refactoring” incorrectly. If we’re embarking on a change that is not...

Introducing the Noisy Animals kata

Fritz Meissner

I created a code kata! The Noisy Animals code kata is a programming exercise designed to teach principles of improving bad code. The exercise consists of: around one page of bad code that generates animal noises (dogs go “woof”, cats go “meow”, etc) tests that verify the behaviour of the...

Inception Refactor

Todd Sdeano

While working on a feature or a refactor, sometimes we wished that the code looked differently. A developer might think, “If only the code than this interface or this structure, then my work would be easier.” When this happens, we could either do all the refactorings at once or sequence the work...