🏠 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
advanced

Legacy Code Refactoring

#refactoring #clean-code #architecture #safety

Analyze and refactor monolithic code into clean architecture.

Analyze the following legacy code snippet. Identify anti-patterns, violations of SOLID principles, and potential security vulnerabilities. Refactor the code into a modular, object-oriented architecture, ensuring high cohesion and low coupling. Provide a detailed explanation of the changes made and why they improve the system's maintainability and performance.