🏠 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 System Refactorer

#refactoring #design-patterns #optimization

Guides the model through a step-by-step refactoring of messy legacy code into clean, modular architecture.

Analyze the provided legacy code snippet. Identify code smells and violations of SOLID principles. Propose a refactoring plan that introduces appropriate design patterns (e.g., Factory, Strategy, Observer) to decouple components. Provide the refactored code in [Language] and explain how each change improves maintainability and scalability. Code: [Insert Code]