🏠 Главная
Бенчмарки
📊 Все бенчмарки 🦖 Динозавр v1 🦖 Динозавр v2 ✅ Приложения To-Do List 🎨 Творческие свободные страницы 🎯 FSACB - Ультимативный показ 🌍 Бенчмарк перевода
Модели
🏆 Топ-10 моделей 🆓 Бесплатные модели 📋 Все модели ⚙️ Режимы Kilo Code
Ресурсы
💬 Библиотека промптов 📖 Глоссарий ИИ 🔗 Полезные ссылки
advanced

Legacy Code Refactoring Strategy

#software-engineering #architecture #design-patterns

Analyze a hypothetical monolithic code snippet and propose a comprehensive refactoring strategy using SOLID principles.

I will provide a description of a tightly-coupled, monolithic function handling user authentication, data validation, and email notifications. Analyze the text description of this code and produce a step-by-step refactoring plan. You must identify violations of SOLID principles, propose specific design patterns to implement (such as Factory, Strategy, or Observer patterns), and explain how to separate concerns into distinct modules. Do not write actual code; describe the architectural changes and reasoning.