How to ask better questions on coding help forums?
#1
I've been trying to get help on various coding help forums, but I often get responses telling me my questions aren't clear or that I haven't provided enough information. I want to improve how I ask for programming questions and answers.

Here's an example of a "bad" question I asked recently:
"My code doesn't work. Can someone help?"

And a slightly better one:
"I'm getting an error when trying to run my Python script. Here's the error: 'IndexError: list index out of range'"

But even that doesn't seem to be enough. I'm looking for specific advice on how to structure questions to get better beginner coding help. What information should I always include?

My current checklist:
1. The programming language and version
2. The exact error message
3. What I've already tried
4. What I expected to happen

But I feel like I'm still missing something. I've noticed that experienced developers seem to get help much faster and with better answers.

Specific questions:
1. How much code should I include in my question?
2. Should I create a minimal reproducible example every time?
3. How do I describe the problem clearly without writing a novel?
4. What makes a question "good" from the perspective of people answering?

I'd appreciate any tips from both people who ask questions and those who answer them on programming forums. This feels like a skill I need to develop alongside my actual coding skills.

Also, if there are coding tutorial recommendations about how to effectively use coding help forums, I'd love to check them out!
Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Forum Jump: