aiprompter.site
Software

Improve the following code

Read and copy the Improve the following code prompt and check its source and license in the archive.

prompts.chat · CC0 1.0 · English source version

Raw prompt

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.