There is a point where a person is faster
AI tools are excellent at problems that resemble many other problems. They are weak on the specific: a quirk of one hosting provider, a library’s undocumented behaviour, an error message that appears in exactly four places on the internet.
When you have tried twice, restarted the session once, and searched the exact error text with no luck, the next move is a human. Getting a useful answer is a skill, and it is mostly about how you ask.
The shape of a question that gets answered
Five parts, in this order:
- What you are trying to do, in one sentence.
- What you did, precisely enough to be repeated.
- What happened, with the exact error, pasted as text.
- What you expected.
- What you have already tried, so nobody repeats it.
People who answer questions for free are triaging. A question with those five parts gets read; a question saying “my app doesn’t work, can anyone help” does not, and this is not unkindness, it is arithmetic.
Include the version numbers
Half of all wrong answers online are correct answers for a different version. Say which you are on:
node --version
npm ls next react # or whatever the relevant packages areAlso say your operating system and your host, because a surprising number of problems are specific to one combination.
The minimal reproduction
The strongest thing you can bring is the smallest version of the problem: a project with nothing in it except what is needed to make the failure happen.
Building one takes twenty minutes and does something unexpected: it frequently solves the problem. Removing pieces to find the smallest failing case is bisection applied to code rather than to history, and about half the time the failure disappears at some step and you have just found the cause yourself.
StackBlitz and CodeSandbox host runnable reproductions for free, and a link to one gets an answer where a wall of pasted code does not.
Paste text, not screenshots
A screenshot of an error cannot be searched, cannot be copied into a terminal, and cannot be read by anybody using a screen reader. Paste the text between triple backticks. Reserve screenshots for things that are visual, like a layout problem.
Where to ask
Stack Overflow for a specific technical question with a definite answer. Strict about format, and the strictness is why the answers are good.
The project’s own GitHub Discussions or issues. Search first: your problem is often already there with a workaround. For a genuine bug in a library, this is the right place and a good report is a real contribution.
Discord and Slack communities, which most frameworks run. Better for “am I thinking about this wrongly” than for a precise error. Note that answers scroll away and are not searchable later, which makes them worse for the next person with your problem.
Reddit (r/webdev, r/learnprogramming and similar) for direction and judgement calls rather than debugging.
Local groups. Meetups and college communities. Twenty minutes beside somebody who has done this before is worth more than a week of forums, and this is the most underused option on the list.
Be honest about how the code was written
“This was generated by an AI tool and I do not fully understand it” is a useful sentence, not an embarrassing one. It tells people not to assume you meant something clever, and it changes the answers you get for the better.
Some communities are dismissive about AI-generated code. Most are not, particularly when you show that you have read it and tried to narrow the problem. What people object to is being handed 600 unread lines with no attempt at diagnosis, and that objection is reasonable, because it asks them to do the reading you skipped.
Close the loop
When you solve it, post the solution. It costs a minute and the next person searching that error finds your answer instead of an unanswered thread.
This is how the material every model was trained on came to exist. Somebody wrote down what went wrong and what fixed it. Adding to that is the cheapest contribution available to anybody in this course.
Every lesson here is open. Your progress is recorded once you pass the Building with AI exam.
Check your understanding
Why does building a minimal reproduction often solve the problem before anyone else sees it?
Pick the one you would defend. Your answer stays private.
Stuck on something?Ask Beatriz, your AI tutor
