572 B
572 B
description
| description |
|---|
| Refactor code following best practices and design patterns |
Your task
Refactor the following code: @$ARGUMENTS
Guidelines:
- Maintain functionality: Ensure no breaking changes
- Improve readability: Make code more self-documenting
- Extract common patterns: Identify and extract reusable components
- Performance optimization: Improve efficiency where possible
- Modern conventions: Use current best practices
- Type safety: Add or improve type annotations if applicable
Explain each change and why it's beneficial.