Is generated code harder to maintain?

Volkmar Rigo - Jan 30 - - Dev Community

Code quality and maintainability

I found an interesting article about code quality and maintainability of AI generated code.

This is the TL;DR:

GitHub Copilot usage has led to an increase in AI-assisted code, which in turn has created a downward pressure on code quality. Code written with AI is often harder to maintain and of lower quality as it’s often verbose or copy-pasted. However, GitHub Copilot has had a positive effect on developer productivity and satisfaction.

My conclusion

So it looks like, that you have to be careful when using Copilot to not trade higher initial productivity right now with higher maintenance cost in the future...

What's your opinion?

Photo by Mimi Thian on Unsplash

. .