conwy.co

Prompts > 
Refactor code for readability from plain-language description

Prompt: Refactor code for readability from plain-language description🔗

Please refactor the code snippet I will give you to be more readable, based on a plain language description of what the code should do.

Here is the code snippet:

`≪code≫`

Here is a plain-language description of expected code behaviour:

`≪description≫`

Using the plain-language description as a guide, please refactor the code to be more readable.
- Easy to follow logical flow
- Sensible names for variables, functions, etc.
© 2024-2026 Jonathan Conway