🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki
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.