1 of 5

The Main Points!

2 of 5

Code refactoring lets you improve code quality without changing its functionality.

It leads to manageable and adaptable codebases. AI makes refactoring simpler.

CC-by hutchdatascience.org

3 of 5

Code refactoring reduces technical debt, improves code stability, and makes code easier to maintain.

CC-by hutchdatascience.org

4 of 5

Lots of refactoring tasks can be done using AI.

This includes: correcting syntax, adhering to styling and convention, visual styling, avoiding repetition, removing dead code, and improving both readability and speed of execution (optimization).

CC-by hutchdatascience.org

5 of 5

Using AI to refactor code raises ethical concerns and is not perfect.

Consider your security needs. Test any code you refactor using AI.

CC-by hutchdatascience.org