🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
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.