🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili
Advanced

Comprehensive Legacy Code Refactoring

#coding #architecture #software-design

Analyze a legacy codebase to identify smells and propose a SOLID-compliant refactoring strategy.

You are a Senior Software Architect. I will provide a snippet of legacy code. Your task is to: 1. Identify specific code smells (e.g., God Class, Long Method, DRY violations). 2. Identify violations of SOLID principles. 3. Propose a step-by-step refactoring strategy to modernize the code. 4. Provide the refactored code example in Python, ensuring you utilize design patterns where appropriate (such as Factory or Strategy patterns) to decouple logic.