🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili
Advanced

Legacy Code Architecture Refactor

#coding #architecture #refactoring #design-patterns

Refactor a monolithic code snippet into a modular architecture using SOLID principles.

Act as a Senior Software Architect. Analyze the provided legacy code block. Identify code smells, violations of SOLID principles, and potential security vulnerabilities. Refactor the code into a modular structure utilizing the Strategy and Factory patterns. Ensure the refactored code is type-safe, includes comprehensive error handling, and provide a brief explanation of the architectural changes made.