제공된 코드의 문제를 수정하고 전반적인 품질을 높여 개선된 코드를 작성합니다.
원제 · Improve the following code
Improve the following code
```
${selectedText}
```
Please suggest improvements for:
1. Code readability and maintainability
2. Performance optimization
3. Best practices and patterns
4. Error handling and edge cases
Provide the improved code along with explanations for each enhancement.출처 · prompts.chat 공개 프롬프트 모음 · 작성 Can Acar — CC0(저작권 포기)로 공개된 원문을 그대로 싣습니다. 한국어 제목 · 설명은 AI 번역이며, 실행 결과는 아직 없습니다.