meta_pixel
Tapesearch Logo
Thoughtworks Technology Podcast

Refactoring with AI

Thoughtworks Technology Podcast

Thoughtworks

Careers, Business, 907234, Technology

4.753 Ratings

🗓️ 18 April 2024

⏱️ 38 minutes

🧾️ Download transcript

Summary

Can AI improve the quality of our code? A recent white paper published by code analysis company CodeScene — "Refactoring vs. Refuctoring: Advancing the state of AI-automated code improvements" — highlighted some significant challenges: in tests, AI solutions only delivered functionally correct refactorings 37% of the time. However, there are nevertheless opportunities. The white paper suggests it might be possible to dramatically boost the success rate of AI refactoring to 90%.

In this episode of the Technology Podcast, Adam Tornhill, CTO and Founder of CodeScene, joins Thoughtworks' Rebecca Parsons (CTO Emerita), Birgitta Böckeler (Global Lead for AI-assisted software delivery) and Martin Fowler (Chief Scientist and author of the influential Refactoring book) to discuss all things AI and code. From refactoring and code quality to the benefits and limitations of coding assistants, this is an essential conversation for anyone that wants to understand how AI is going to shape the way we build software.

 

Read CodeScene's Refactoring vs. Refuctoring white paper, which explores AI's role in improving code:  https://codescene.com/hubfs/whitepapers/Refactoring-vs-Refuctoring-Advancing-the-state-of-AI-automated-code-improvements.pdf

Read CodeScene's Code Red white paper to learn how code quality impacts time-to-market and product experience: https://codescene.com/hubfs/web_docs/Business-impact-of-code-quality.pdf

CodeScene's new automated refactoring tool is now in beta. Learn more:  https://codescene.com/campaigns/ai

Listen to our podcast discussion about AI-assisted coding from November 2023: https://www.thoughtworks.com/insights/podcasts/technology-podcasts/ai-assisted-coding-experiences-perspectives

Transcript

Click on a timestamp to play from that location

0:00.0

Hello, everyone. My name is Rebecca Parsons. I'm the Chief Technology Officer Emerita for ThoughtWorks, and I'm joined today with three guests to talk about the topic of AI refactoring.

0:22.6

And first, I'd like to introduce Adam, who is the founder of Codecene.

0:28.6

Adam, please say hello to everybody.

0:31.6

Hello, everybody. Really good to be here.

0:33.6

And Berghita, a principal technologist with ThoughtWorks, who is leading our efforts

0:39.9

in AI-assisted software delivery. Bergeen. Hi, everybody. And Martin Fowler, our chief scientist,

0:48.3

author of the book Refactoring, and we are here to discuss AI refactoring in all its glory. One of the things that

1:01.6

had disturbed me very early in many of the studies that were done on the power of tools like

1:09.4

GitHub co-pilot was they focused on speed and they focused on task

1:15.1

completion.

1:16.4

And no one ever said anything about code quality and nobody ever said anything about, and

1:22.2

oh, by the way, how is this going to help us with all of the legacy code that we have? And so that's the topic that we are going to discuss today.

1:31.6

And so let's start with the question.

1:34.6

How do we characterize code quality?

1:38.1

What does it mean for code to be good code or bad code?

1:42.6

The interesting thing with code quality is that there's not a single metric that can

1:47.4

capture a multifaceted concept like that.

1:49.8

I mean, no matter what metric could come up with, there's always a way around it or

1:53.6

there's always a counter case.

1:56.1

So what we've been working on for like the past six to seven years is to develop the code

2:01.9

half metric.

2:02.9

And the idea with code half is that instead of looking at a single metric, you look at

...

Transcript will be available on the free plan in -345 days. Upgrade to see the full transcript now.

Disclaimer: The podcast and artwork embedded on this page are from Thoughtworks, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Thoughtworks and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.