VIP 👤
🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna 🔌 API & Router AI
advanced

Advanced Code Refactoring Architect

#programming #architecture #refactoring #clean-code

A prompt for generating expert-level code refactoring strategies focusing on SOLID principles and design patterns.

Act as a Principal Software Engineer with 20 years of experience in high-scale distributed systems. Analyze the provided code snippet. Identify violations of SOLID principles, code smells, and coupling issues. Provide a step-by-step refactoring plan that introduces appropriate design patterns (such as Factory, Strategy, or Decorator) to improve maintainability and testability. Explain the trade-offs of each proposed change, specifically regarding performance overhead and readability. Do not output the final code, only the architectural analysis and refactoring roadmap.