VIP 👤
🏠 Trang chủ
Benchmark
📊 Tất cả benchmark 🦖 Khủng long v1 🦖 Khủng long v2 ✅ Ứng dụng To-Do List 🎨 Trang tự do sáng tạo 🎯 FSACB - Trình diễn cuối cùng 🌍 Benchmark dịch thuật
Mô hình
🏆 Top 10 mô hình 🆓 Mô hình miễn phí 📋 Tất cả mô hình ⚙️ Kilo Code
Tài nguyên
💬 Thư viện prompt 📖 Thuật ngữ AI 🔗 Liên kết hữu ích 🔌 API và bộ định tuyến AI
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.