Stop Asking ChatGPT for Answers: A Self-Taught Coder's Guide to AI as a Coach
Photo: Official GDC, CC BY 2.0, via Wikimedia Commons
Let's be honest about how most of us use AI right now. We hit a bug, we paste the error into ChatGPT, we get back a block of code, we paste it in, it works, we move on. Three minutes later we've forgotten what the fix even was.
It feels incredibly productive. It's also, in many cases, making you worse at your job — or worse, preventing you from ever getting the job. Because here's the thing: the AI can write your code, but it can't attend your technical interview, reason through your architecture decisions, or debug the weird production issue at 2 p.m. on a Friday. Those moments require skills that only develop when you do the cognitive work.
The good news: you don't have to choose between using AI and learning deeply. You just have to stop using it as an answer machine and start using it as a coach. Here are five ways to do exactly that.
1. Ask for Hints, Not Solutions
The single highest-leverage change you can make: add one sentence to your prompts. Instead of "fix this React error," try:
"I'm getting this error in my React component. Don't give me the solution — ask me questions to help me figure it out myself."
This is the Socratic method, and AI is shockingly good at it. Instead of handing you a fixed line of code, it'll ask things like "What does the error say the undefined value is?" and "Where do you expect that data to come from?" Within two or three exchanges, you'll usually find the bug yourself.
Does it take longer? Yes. Will you remember the fix a week later? Also yes. That trade is the whole game. A fix you found yourself sticks; a fix you pasted evaporates.
2. Make the AI Write Your Practice Problems
Here's an underrated use: after you learn a concept, have the AI quiz you before you're allowed to feel done. A prompt like:
"I just learned about JavaScript promises. Give me five progressively harder problems to solve, from writing a basic promise to handling a race condition. Don't show me solutions until I've attempted each one."
Now you've got an endless, personalized problem set — something textbooks and bootcamps charge real money for. The key phrase is "don't show me solutions until I've attempted." Set that boundary in the prompt, because the AI will happily spoil the answer if you let it.
3. Use It to Explain, Then Have It Test Your Understanding
When you hit a genuinely confusing concept — closures, dependency injection, whatever it is this week — ask for the explanation, but don't stop there. Follow up with:
"Now ask me three questions to check whether I actually understood that. Grade my answers honestly."
This two-step pattern — explain, then interrogate — mimics what a good professor does in office hours. The explanation alone creates the illusion of understanding (sound familiar?). The follow-up questions destroy the illusion or confirm the understanding. Both outcomes are useful.
4. Review Your Code Like a Senior Dev, Not a Ghostwriter
When you've written something yourself and it works, that's the perfect moment for AI — not as the author, but as the reviewer:
"Here's a function I wrote. Act like a senior engineer doing a code review. Point out edge cases, naming issues, and anything that would break at scale. Don't rewrite it — tell me what to improve and why."
Notice what's different: you wrote the code first. The AI's feedback lands on top of real understanding, so it actually changes how you think. Compare that to asking the AI to write the function from scratch, where the feedback loop teaches you nothing because there's nothing of yours to improve.
5. Interrogate Your Own Code After It Works
One more habit worth stealing: once something works, paste it in and ask:
"Ask me five questions about this code that a hiring manager might ask in an interview. Make me explain why every part exists."
This is gold for self-taught developers in the US job market, where interviewers routinely probe whether you understand the code on your own GitHub. If you can't explain why you used a particular pattern, that's a gap — and better to find it in a chat window than in a panel interview.
The Line You Don't Cross
None of this means never letting AI generate code. On the job, that's a normal, expected tool. But there's a difference between the learning phase and the working phase, and the rule is simple: while you're learning, the AI should ask more than it answers.
Every time you let it skip the struggle for you, you're trading a durable skill for a fast result. Every time you make it coach you through the struggle, you keep the skill and still get to the result — just a little slower.
You're teaching yourself to code. The keyword is teaching. AI can be the best tutor you've ever had, free, available at 3 a.m. — but only if you refuse to let it do the one thing it wants to do: the learning for you.