AI
The AI Prompts That Help Me Study Programming
Prompts that just explain a concept don't stick. The ones that force me to answer, guess, or produce code before getting the explanation are the ones that actually teach me something.
Most of the ways I've seen people use AI to study just ask it to explain a concept, get a paragraph back, and move on. That doesn't really stick for me. The prompts that actually help are the ones that force me to do something with the answer instead of just reading it.
Asking for the boring example instead of the textbook one
"Explain this using a backend example, not a Dog and Animal class" is basically a standing instruction at this point. Right now that means OOP concepts explained through something like a bank account class instead of a car or a zoo, because that's closer to the shape of code I actually write, where a Dog inheriting from Animal is a shape I'll never touch again after the tutorial ends.
Making it quiz me instead of explain
Instead of "explain inheritance in C#," I ask it to quiz me on the concept without giving the answer away first, and only explain after I've actually tried to answer. Getting something wrong and then seeing why is a completely different kind of learning than reading the correct answer up front and assuming I would have gotten there myself.
Asking for the wrong answer that looks right
One prompt I keep coming back to: show me a version of this code that looks correct but has a subtle bug in it, and let me find it before you tell me. Most of the mistakes I actually make in real code don't look like mistakes, they compile fine and run fine most of the time, so practicing on something that only breaks under a specific condition is a lot closer to real debugging than fixing code that's obviously wrong.
Asking what a senior would flag
When I've written something and it works, I paste it in and ask what a senior developer would flag in code review, not "is this correct." Correct and production-ready aren't the same thing, and this prompt gets at the gap between them: naming conventions, missing edge cases, places where the code works but wouldn't survive a real review.
Asking it to hold back the answer
For anything I'm actually trying to learn instead of just get past, I add one line to the prompt: don't give me the full solution, give me a hint first and wait for me to try again. It's tempting to just take the answer when it's sitting right there in the chat, so I have to explicitly ask for the version that doesn't hand it over immediately.
Why this matters more with AI specifically
It's easier than ever to get a plausible-sounding answer without actually understanding anything, since the AI will happily explain something I could have looked up myself, and I'll feel like I learned it just from reading the explanation. Prompts that force me to actually produce something, an answer, a guess, a piece of code, before getting the explanation are the ones that turn "I read about this" into "I actually understand this."