🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki
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.