🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
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.