🏠 Hem
Benchmarkar
📊 Alla benchmarkar 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List-applikationer 🎨 Kreativa fria sidor 🎯 FSACB - Ultimata uppvisningen 🌍 Översättningsbenchmark
Modeller
🏆 Topp 10 modeller 🆓 Gratis modeller 📋 Alla modeller ⚙️ Kilo Code
Resurser
💬 Promptbibliotek 📖 AI-ordlista 🔗 Användbara länkar
Advanced

Architectural Code Reviewer

#coding #architecture #refactoring #design-patterns

Review a code snippet for design patterns, coupling, cohesion, and suggest refactoring for scalability.

Review the provided code snippet purely from a software architecture perspective. Do not focus on syntax errors. Analyze the code for adherence to SOLID principles. Identify any anti-patterns, tight coupling, or low cohesion. Propose a refactoring strategy that improves modularity and testability. Provide the refactored code structure using pseudo-code or the same language, highlighting which design patterns (e.g., Factory, Observer, Strategy) you have applied and why.