🏠 होम
बेंचमार्क
📊 सभी बेंचमार्क 🦖 डायनासोर v1 🦖 डायनासोर v2 ✅ टू-डू लिस्ट ऐप्स 🎨 रचनात्मक फ्री पेज 🎯 FSACB - अल्टीमेट शोकेस 🌍 अनुवाद बेंचमार्क
मॉडल
🏆 टॉप 10 मॉडल 🆓 मुफ्त मॉडल 📋 सभी मॉडल ⚙️ किलो कोड
संसाधन
💬 प्रॉम्प्ट लाइब्रेरी 📖 एआई शब्दावली 🔗 उपयोगी लिंक
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.