🏠 Accueil
基準測試
📊 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 📖 人工智能詞彙表 🔗 Liens Utiles
advanced

Legacy Code Modernization

#coding #refactoring #architecture #clean-code

Refactor a legacy codebase to modern standards with a focus on SOLID principles.

You are an expert software architect. Analyze the provided legacy code snippet. Identify security vulnerabilities, performance bottlenecks, and violations of SOLID principles. Refactor the code into a modern, modular structure using the language of your choice or the one provided. Ensure the refactored code includes comprehensive error handling, typing (if applicable), and clear documentation comments. Finally, provide a detailed 'Changelog' explaining every modification made and the rationale behind it.