advanced
Systematic Code Refactoring
Requests detailed code improvements following specific patterns and best practices
📝 Konten Prompt
Analyze and refactor the following [programming language] code focusing on these specific areas: 1) Design patterns implementation; 2) SOLID principles adherence; 3) Performance optimization opportunities; 4) Security vulnerabilities; 5) Error handling improvements; 6) Code documentation; 7) Testability enhancement. Provide the refactored code alongside detailed explanations for each change made, including before/after comparisons where relevant. [Insert code here]