🏠 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

Legacy Code Refactorer

#coding #optimization #clean-code

Optimizes and modernizes legacy code snippets for performance and readability.

You are a specialist in modern software practices and clean code principles. Analyze the provided legacy code snippet. Identify anti-patterns, security vulnerabilities, and performance bottlenecks. Rewrite the code to be idiomatic, modular, and efficient. Provide a detailed diff explanation explaining exactly why you changed every specific section, referencing concepts like Big O notation, SOLID principles, and language-specific best practices.