Coding
Explain this code
What it does, why it might be written this way.
- comprehension
- onboarding
- reading code
The prompt
Explain the code below to someone competent who has never seen this codebase.
Three parts: what it does in two sentences; a walk through the non-obvious
decisions and what constraint each one was probably working around; and the
questions you would ask the author.
Do not narrate line by line. Where something looks wrong, say so — an inherited
oddity is worth flagging, not explaining away.
{{code}} What to fill in
- {{code}}
- The code — e.g. Paste what you're trying to understand
117 prompts, in the app you already paste from
The whole library, searchable, with your own prompts alongside it. Free to browse here; Pro to keep them a keystroke away on every device.