REFACTORING

2 days

Reshape your code to accomodate new requirements easily, without breaking your software


New Year's Offer

Training bookings confirmed by January 31st are HALF-PRICE

Confirm any Codemanship course booking by January 31st 2026, to be delivered remotely before May 31st, and get 50% off



Refactoring is the secret sauce of rapid and sustained software delivery. As our code grows, it gets more complex, harder to understand and harder to change - making it much harder for teams to respond to changing business needs. It's proving to be an essential ingredient for sustaining AI-assisted coding, too.

On this course, you will learn to reshape your code to enable you to sustain the pace of change and respond to user feedback and changing business requirements without breaking your software. You will also learn how to refactor legacy code safely to accommodate new requirements without risking existing operations.

With an emphasis on the practical, this workshop is packed full of hands-on demonstrations (20%) and exercises (80%). Participants learn together with pair and mob programming.

Available Online & On-Site

High-quality instructor-led training remotely for groups of up to 12 worldwide and in-person for groups of up to 20 in the UK & EU.

In This Workshop...

Learn why simple, readable, modular code is essential for sustaining the pace of innovation, and how to measure the impact code quality has on software delivery.

Learn how to safely reshape the internal design of your software one small, atomic, undoable step at a time, how to use unit tests to ensure nothing's broken, and how to use version control to ensure an easy way back if anything goes wrong.

Learn how to recognise the signs that your code is "rotting", and to identify problems with:

* Readability
* Complexity
* Coupling
* Cohesion
* Duplication

Practice refactoring the following common code smells:

* Long methods/functions
* Comments
* Large classes/modules
* Divergent change
* Long parameter lists
* Duplicate code
* Message chains
* Feature envy
* Data classes
* Data clumps
* Switch statements

Learn a simple process for safely making changes to legacy code that enables you to add unit tests where you need them and to improve the surrounding code to make changes even easier in the future.

Learn a fun and challenging game that improves your practical long-form refactoring skills while increasing your familiarity with the refactoring features of your IDE.

Learn to spot the code smells that AI code generation tends to introduce, and to apply the discipline of refactoring using Large Language Models to modify existing code.

Mobirise

Video Demo

Check out our free videos on refactoring

Languages

This course is available in C# (Rider or Resharper required), Java (IntelliJ or Eclipse required), Python (PyCharm required) and JavaScript (WebStorm required) versions

Pricing

Prices are per person, and do not include travel expenses and VAT.

Pricing Band £ (remote*) £ (on-site**)
First 4-6 people 950 475 until Jan 31st 1150
Next 7-12 people 700 350 until Jan 31st 900
Next 13-20 people* N/A 650
Additional people on the day 950 1150

Minimum number for all training is 4

* Maximum number for online training is 12

** UK & EU only. Maximum number for on-site training is 20

FAQ

This training workshop is aimed at C# and Java developers with at least one year's experience programming in their chosen language. It's often attended by technical leaders who wish to keep their code craft skills up-to-date, too.

You will need a suitable computer with your favourite C# or Java editor/IDE installed. On-site courses will require a room large enough to comfortably accomodate all participants, good, reliable Internet access (Wi-Fi), and a data projector or suitably large TV (with HDMI input) that will allow participants to read code from the back of the room. You will find a pen and paper handy.

Online training is available whereever you are, pretty much. (There are a few countries it's sadly not possible to do business with, of course.) Onsite training is available across the UK. Ask us.

9/10 times, the trainer will be Codemanship founder and course author Jason Gorman. Jason has 38 years' programming experience and three decades of professional experience as a developer, technical lead and software architect. He's run hundreds of code craft training workshops over the last 20 years, and is a very experienced teacher and mentor. If, for any reason, Jason isn't available for your workshop, we'll inform you well in advance and offer you a trainer of similar industry seniority.

Yes. You will most definitely be writing code in this workshop. Business analysts, testers, project managers etc may find it useful to sit in and observe -at no charge - if they want to gain an understanding of Test-Driven Development and how it fits into the overall software development cycle, but this is 100% a hands-on workshop.

Since 2009, we've delivered training for developers working in C++, Swift, Go, Kotlin, Groovy, Ruby and many other languages. Ask us about customised courses.