Coding Explain Code
Check What a Script Does Before You Run It
I found this script at [SOURCE] and I am about to run it on my computer or website, but I want to understand it first: [SCRIPT]. It is supposed to [CLAIMED_PURPOSE]. Plea…
Coding · Explain Code
Understand what a piece of code does, part by part, without needing any programming background.
Someone gave me this code and I want to understand it. I have [EXPERIENCE_LEVEL] experience with programming. Here it is: [CODE]. I got it for this reason: [CONTEXT]. Please start with a two-sentence summary of what the whole thing does. Then go through it in small chunks, explaining each one in everyday language, and use a real-life comparison where it helps. Whenever you use a technical word, explain it in brackets the first time. Finish with a short list of the things I would need to change to adapt it for my own use, and anything I should be careful about.
Tip: Ask follow-up questions about any chunk that is still unclear; you can say 'explain that part again more simply'.