Berlin

November 4 & 5, 2024

New York

September 4 & 5, 2024

Compassionate Refactoring

Claire Sudbery talks about kindness and forgiveness, and the paradox that the more you accept and handle bad code, the more likely it is that you will end up with good code.

Register or log in to access this video

Create an account to access our free engineering leadership content, free online events and to receive our weekly email newsletter. We will also keep you up to date with LeadDev events.

Register with google

We have linked your account and just need a few more details to complete your registration:

Terms and conditions

 

 

Enter your email address to reset your password.

 

A link has been emailed to you - check your inbox.



Don't have an account? Click here to register
March 25, 2022

Most coders wish they were refactoring their code more than they are.

Many things stand in our way (or so we think): The obvious one is time, and the associated pressure from our stakeholders. This is a real problem, and in this talk I will discuss ways of addressing it.

But one constraint that isn’t often discussed is a lack of compassion. This doesn’t only come from others, it comes from ourselves. We don’t forgive ourselves when we write bad code. We think it’s all or nothing. We mutter about the trail of bad code left by our forbears and feel guilty about the bad code we leave behind ourselves.

Refactoring shouldn’t be something that happens after the fact – it should be, and can be, part of every day development. But before we write good code we have to write bad code, and that’s OK. As with most creative endeavours if you insist on making the first draft perfect you will never get anything out the door.

This talk is about kindness and forgiveness, and the paradox that the more you accept and handle bad code, the more likely it is that you will end up with good code.