---
title: "Discussion on \"I Tested Claude, GPT-4, and Gemini on the Same Refactoring Task\" | Hashnode"
description: "Discussion on \"I Tested Claude, GPT-4, and Gemini on the Same Refactoring Task\". A real-world comparison of three AI coding models on the same Clean Architecture refactoring task. Same codebase, same prompt, same TypeScript project — different results."
url: "https://hashnode.com/posts/i-tested-claude-gpt-4-and-gemini-on-the-same-refactoring-task/69e0fec2e2c9579ad07de476"
---

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

Discussion

# [I Tested Claude, GPT-4, and Gemini on the Same Refactoring Task](https://alexrogov.hashnode.dev/i-tested-claude-gpt-4-and-gemini-on-the-same-refactoring-task?utm_source=hashnode&utm_medium=feed)

A real-world comparison of three AI coding models on the same Clean Architecture refactoring task. Same codebase, same prompt, same TypeScript project — different results.

Apr 16 · 7 min read · alexrogov.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming](https://hashnode.com/tag/programming)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Alex Rogov](https://hashnode.com/@alexrogovjs)

@alexrogovjs · Amsterdam, Netherlands

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

Full-Stack JS Architect · AI + Clean Architecture · TypeScript, Node.js, React

Full-Stack JS Architect based in Amsterdam. I write about AI-augmented software architecture, Clean Architecture in TypeScript/Node.js, and practical AI coding workflows with Claude Code and CLAUDE.md. 10+ years building production systems with React, React Native, NestJS, and Next.js.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
