---
title: "Discussion on \"AI Code Refactoring: Why Testing Still Matters\" | Hashnode"
description: "Discussion on \"AI Code Refactoring: Why Testing Still Matters\". AI can rewrite your codebase in hours, but safely landing those refactors still requires foundational software engineering like testing and feature flags."
url: "https://hashnode.com/posts/ai-code-refactoring-testing/6a2ac6fa6a06141119d9d88d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AI Code Refactoring: Why Testing Still Matters](https://doogal.dev/ai-code-refactoring-testing?utm_source=hashnode&utm_medium=feed)

AI can rewrite your codebase in hours, but safely landing those refactors still requires foundational software engineering like testing and feature flags.

Jun 11 · 5 min read · doogal.dev  
Updated Jul 19  
Read the article

-   [#softwareengineering](https://hashnode.com/tag/softwareengineering)
-   [#refactoring](https://hashnode.com/tag/refactoring)
-   [#softwaretesting](https://hashnode.com/tag/softwaretesting)
-   [#generativeai](https://hashnode.com/tag/generativeai)

## Written by

[Doogal Simpson](https://hashnode.com/@doogal)

@doogal

  
[View profile](https://hashnode.com/@doogal)

"hey doogal, what is .... ?"

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
