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

Clean Code Refactoring Expert

#coding #refactoring #software-architecture

Requests a comprehensive analysis and refactoring of provided code to improve readability and performance.

Analyze the provided code snippet. Your task is to refactor it to meet industry standards for clean code and performance. 1. Identify code smells, bottlenecks, and potential bugs. 2. Rewrite the code applying SOLID principles, appropriate design patterns, and meaningful naming conventions. 3. Provide a detailed explanation of the changes made and the reasoning behind them. 4. Include unit tests where applicable to verify functionality. Output the response in two sections: Analysis and Refactored Code.