🏠 Accueil
Benchmarks
📊 Tous les Benchmarks 🦖 Dinosaure v1 🦖 Dinosaure v2 ✅ To-Do List Apps 🎨 Pages Libres 🎯 FSACB - Showcase 🌍 Traduction
Modèles
🏆 Top 10 Modèles 🆓 Modèles Gratuits 📋 Tous les Modèles ⚙️ Modes Kilo Code
Ressources
💬 Prompts IA 📖 Glossaire IA 🔗 Liens Utiles
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.