🏠 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 Modernization Architect

#refactoring #design-patterns #solid #architecture

Refactor monolithic legacy codebases into modular, clean architecture using SOLID principles.

Act as a Senior Software Architect specializing in legacy system modernization. Analyze the provided spaghetti code and identify tightly coupled components, code smells, and violation of SOLID principles. Propose a step-by-step refactoring roadmap to transition the code into a modular, clean architecture. Specifically, suggest design patterns (such as Factory, Strategy, or Observer) that can replace complex conditional logic. Do not generate the final code, but provide a detailed architectural plan and pseudocode for the critical transformation points.