🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
advanced

Legacy Code Refactoring Agent

#coding #software-architecture #refactoring

Act as a senior software engineer to analyze, identify code smells, and refactor legacy code snippets into modern, clean architecture.

Analyze the following code snippet. Identify anti-patterns, code smells, and violations of SOLID principles. Rewrite the code to be modular, testable, and efficient using modern best practices. Provide a detailed explanation of the changes made, comparing the before and after states, and suggest specific unit tests to verify the new implementation.