How to ask a question on StackOverflow

When we do coding we often face many problem. Theoretically ok code may not run in practical environment. So what we should do. First we can ask from our fellow coders near you. If they cant help you, what do you do?

You must have checked StackOverflow. Most of the time, we go there just as a reader and read threads about similar problems. But what would happen if non of them help you. You have to ask a question.

Here are some tips for asking a good question on StackOverflow.

  • Its not for helping you to complete your homeworks. So never ask, I have to do this, how I can do it.
  • First try something by yourself, even its a simple hello world program. Then ask your question with you used code, expected result and the actual result you got.
  • When you ask a question, be simple and short, include only the necessary details to your question.
  • Always give some details about your environment, such as your OS, software version.
  • Be polite with the fellow coders who tries to help you there.

I hope these will give you an idea. As a coder, you need to have a StackOverflow account. Not just for asking questions, you can help the fellow coders when they having similar questions you had. Make it as a hobby, visit StackOverflow and search for your favorite tags and help them.

Happy Coding everyone...

Comments

Post a Comment

Popular posts from this blog

Youtube-dl cheatsheet

Git mistakes - 1

Docker Development - Mistakes 1