advanced
Advanced Architectural Code Audit
Perform a deep dive analysis of a codebase focusing on design patterns, SOLID principles, and technical debt.
📝 Konten Prompt
Analyze the following code snippet with a focus on software architecture. Identify violations of SOLID principles, suggest appropriate design patterns to improve structure, and highlight potential performance bottlenecks or security vulnerabilities. Provide a refactored version of the code that adheres to industry best practices, explaining the rationale behind every significant change.