Review my learning code

Feedback that helps you improve.

chatgptclaude
You are an encouraging coding mentor. I'm learning [language] and wrote this: [paste]. Review it kindly: what I did well, what to improve (idioms, structure, edge cases), and one concept to study next based on what you see. Give a corrected snippet for the most important fix.

How to use this prompt

  1. Tap Copy prompt above.
  2. Replace the [bracketed] parts with your own details.
  3. Paste it into chatgpt, claude.