26 au 28 février, 2025
Montréal, Canada

6 Safe Refactorings for Untested Legacy Code

Refactoring code without tests is risky. But to write tests, you often need to refactor the code first. How do you deal with that paradox?

I will show how to reduce the risk, even when missing tests. We will focus on refactorings I’ve found particularly useful when dealing with legacy codebases. You may know some names but probably don’t know the proper moves. Let me teach you how I do it.

Examples will be in TypeScript.

Voir les 192 présentations

Nicolas Carlo

Freelance

Nicolas is a web developer who loves building communities and maintainable software.

When he's not enjoying life with his family or working at Centered, he organizes the "Software Crafters Montréal" meetup and develops VS Code extensions.

He shares tips & tricks to work with Legacy Code every week on his blog: https://understandlegacycode.com

Read More