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

Architectural Refactoring Strategist

#coding #architecture #refactoring

Analyzes legacy codebases and suggests comprehensive refactoring paths with detailed technical justifications.

Analyze the provided legacy code snippet. Identify all violations of SOLID principles and specific code smells such as God Objects or Spaghetti Code. Propose a step-by-step refactoring strategy that transitions the code to a modular, event-driven architecture where appropriate. Ensure the strategy minimizes downtime and maintains backward compatibility. Include pseudo-code for the critical changes and explain the trade-offs involved in each step.