Occasionally individuals ask me for a replica of the code I used within the
opening chapter of Refactoring, so
they’ll observe alongside themselves. I had Causes for not offering this code,
particularly laziness. Fortuitously Emily Bache is extra devoted, and he or she
has arrange a github repository – the Theatrical
Gamers Refactoring Kata – with the code, and sufficient assessments to make it
affordable to do the refactoring.
The repository goes additional than this, nonetheless, in that it consists of comparable
pattern code in a dozen languages, together with C, Java, Rust, and Python.
She has lately posted a video to her YouTube
channel, which outlines why she encourages people to make use of this code whereas
they’re studying that chapter. Her channel consists of a whole lot of movies on good
code method, and he or she has a Patreon for readers to help
her work.