DDD Europe 2023 - Program

Let's craft automated refactorings ourselves!

Main Conference - Hands-on Lab


Nicolas Carlo

Nicolas Carlo
Friday 9 from 11:00 until 13:00 in Room 2

(This is a hands-on lab with limited capacity)

Performing safe, pure refactorings can make a big difference in your code maintainability. Some IDEs have automated some moves in some languages.

But what if you are using VS Code with PHP? Or Python? Or JavaScript?

What if you could craft your own refactorings and introduce a new Value Object with a single keystroke?

In this hands-on lab, I will show you how to build a VS Code extension that refactors JavaScript code. You'll learn how to manipulate the Abstract Syntax Tree (AST) to automate code transformations for you!


  • A laptop with git, Node.js, and VS Code installed
  • Knowledge of JavaScript and TypeScript would help, but not mandatory

About Nicolas Carlo

Twitter LinkedIn Blog Company Website Sessionize

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

When he's not cooking crêpes for his family, he organizes the "Software Crafters Montréal" meetup and develops VS Code extensions.

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