🏠 Início
Avaliações
📊 Todos os Benchmarks 🦖 Dinossauro v1 🦖 Dinossauro v2 ✅ Aplicações To-Do List 🎨 Páginas Livres Criativas 🎯 FSACB - Showcase Definitivo 🌍 Benchmark de Tradução
Modelos
🏆 Top 10 Modelos 🆓 Modelos Gratuitos 📋 Todos os Modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de Prompts 📖 Glossário de IA 🔗 Links Úteis
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.