Refactoring Python code using tests


Details
Our April meetup will once again take place at the offices of Code Nation on Spring Gardens, right in the city centre.
The session will be a workshop on refactoring Python code and will be led by James Jeffries. James is an experienced developer with a passion for software quality. He is an organiser of XP Manchester and general kata expert.
Code refactoring is an important skill to have in any language, but one that we may not often practice specifically. The aim is to change the structure of the code making it less complex and more readable, thereby making it easier to support and / or extend, without changing its underlying functionality.
In this session we'll be working on getting some difficult-to-change code covered by tests (so we know we haven't broken it when we're finished) and then have a look at how we can improve it. We'll be working in pairs / small groups, so bring along a laptop if you can.
This session will be a good introduction to a common task professional developers have to do, or just good practice if you're already a pro.
See you there.

Refactoring Python code using tests