How to ask a good question #32
Unanswered
yreyricord
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A well-posed question gets answered fast. This short guide helps you
write one.
The four ingredients of a good question
If any of the four is missing, expect a clarifying reply before any
real answer.
A reproducible example beats a paragraph
If your question involves code, paste a minimal, self-contained snippet
the reader can run as is. Strip everything that is not strictly required
to reproduce the issue. Use a fenced code block with the language tag:
```python
from bps_common import some_function
result = some_function(input_data="...")
print(result)
```
For long logs or stack traces, use a collapsible block:
```markdown
Full traceback
```
paste here
```
Include your context
git describe --tags --alwaysor therelease tag.
python --version.Search before posting
Before opening a new question, search:
Chances are someone already asked the same thing.
When your question becomes an issue
If your question reveals a real defect or a missing feature, a maintainer
will ask you to file an issue using one of the five templates (bug,
feature, algorithm, docs, security). Discussions are conversational;
issues are actionable.
Mark the answer
When a reply solves your problem, click Mark as answer on it. The
discussion is then highlighted with a green badge, and future readers
find the solution instantly.
What if no one replies?
Maintainers triage Discussions weekly. If your question gets no traction
after a week, bump it with a comment and tag a maintainer. Patience and
politeness help.
Thanks for taking the time to ask well.
Beta Was this translation helpful? Give feedback.
All reactions