🏠 Hem
Benchmarkar
📊 Alla benchmarkar 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List-applikationer 🎨 Kreativa fria sidor 🎯 FSACB - Ultimata uppvisningen 🌍 Översättningsbenchmark
Modeller
🏆 Topp 10 modeller 🆓 Gratis modeller 📋 Alla modeller ⚙️ Kilo Code
Resurser
💬 Promptbibliotek 📖 AI-ordlista 🔗 Användbara länkar
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.