Friday, June 21, 2024
HomeSoftware DevelopmentCode samples for the opening chapter of Refactoring

Code samples for the opening chapter of Refactoring

Every so often folks ask me for a duplicate of the code I used within the
opening chapter of Refactoring, so
they will observe alongside themselves. I had Causes for not offering this code,
particularly laziness. Thankfully Emily Bache is extra devoted, and she or he
has arrange a github repository – the Theatrical
Gamers Refactoring Kata
– with the code, and sufficient checks to make it
cheap to do the refactoring.

The repository goes additional than this, nevertheless, 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
, 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 she or he has a Patreon for readers to assist
her work.



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments