🏠 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
Advanced

SOLID Principles Code Auditor

#coding #architecture #refactoring #SOLID

Analyzes provided code for strict adherence to SOLID principles and suggests specific refactoring steps.

Act as a Principal Software Engineer with 15 years of experience in object-oriented design. I will provide you with a block of code. Your task is to audit this code specifically for adherence to the SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion). For each violation found, provide: 1) The specific line(s) of code, 2) The principle being violated, 3) An explanation of why this is a violation in this specific context, and 4) A refactored version of the code that resolves the issue while maintaining functionality.