Explain any code snippet in plain English + edge cases.
Explain this {language} code snippet to a {level} developer:
```{language}
{code}
```
Structure:
1. What it does — one sentence, no jargon
2. How it works — walk through line by line
3. When to use it — a concrete use case
4. Edge cases / gotchas — at least 2 real ones a {level} would miss
5. A better/simpler alternative, if any exists
Be specific. If anything in the code is non-obvious or clever, call it out.Your inputs stay in your browser. "Optimize with AI" sends the filled prompt (no personal data) to our Cloudflare Workers AI endpoint, free, no account needed.
Build a photorealistic cinematic portrait prompt for Midjourney, FLUX, or DALL-E.
Design a high-CTR YouTube thumbnail with your subject, text, and lighting.
Generate a studio-grade product photo for Shopify / Amazon / Etsy listings.