VIP 👤
🏠 Início
Avaliações
📊 Todos os Benchmarks 🦖 Dinossauro v1 🦖 Dinossauro v2 ✅ Aplicações To-Do List 🎨 Páginas Livres Criativas 🎯 FSACB - Showcase Definitivo 🌍 Benchmark de Tradução
Modelos
🏆 Top 10 Modelos 🆓 Modelos Gratuitos 📋 Todos os Modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de Prompts 📖 Glossário de IA 🔗 Links Úteis 🔌 APIs e roteadores
advanced

Legacy Code Refactoring Architect

#software-engineering #code-review #architecture

Analyze and improve a legacy code snippet by implementing modern design patterns and explaining the rationale.

Analyze the following legacy code snippet. Identify code smells, tight coupling, and violations of SOLID principles. Refactor the code into a modern, clean architecture suitable for a production environment. Provide the refactored code and a detailed commentary explaining every change made, specifically linking the changes to specific design patterns or software engineering best practices.