Programming problems are difficult to solve, learning to ask questions is the key!

Source: Internet
Author: User
Tags chrome developer chrome developer tools

Introduction: Self-learning programming is a difficult task because you may not find someone to help you with programming problems. Fortunately, we have the Internet, so even though you don't know any programmers personally, you can ask real people questions about programming and get a real (good) answer. But the key to getting answers to questions is where, when, and how to ask questions. This article is selected from the "Road programming".

What place?

Finding the right place to ask programming questions can be as important as asking questions. If you ask the wrong person the right question, you may get the answer, but you won't get a good answer. Because you want a good answer, you need to know where to ask the question.

1. Call a Friend

If you teach yourself to program because no one teaches you, guides you, or guides you, it's a bit of a change. In fact, you can go a long way, but if you have a friend who can help you steer the right direction, you will learn more and faster. Sometimes you already know one or two programmers and they may be happy to answer your questions (especially now that you have the basics, you can ask a good question). If you don't know any programmers, get to know one. Thanks to a website like www.meetup.com/, you can find a lot of programmers meeting in your field. Find a group like that, meet people, and learn from them.
Asking real-life questions is an efficient way to learn and find answers. A real person can look at your code, help you debug, and help you find a solution. A real person can give you a tailored help, because someone knows your background and your current level of knowledge. Because he has answered your other questions and is familiar with the project you are working on. Friends can teach you and help you find your answers, not just the answers to your current questions. If there is a little chance, be sure to ask a friend.

2. StackOverflow

Even if you have a programmer friend, he can't answer all your questions. So StackOverflow (http://stackoverflow.com/) is a great resource. StackOverflow is an online programmer's quiz community. Everything on the website is scored by points. If you ask a question, a lot of people find it useful, and those people will vote in favor of your question.
650) this.width=650; "Src=" http://img.blog.csdn.net/20170109150658687?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvynjvywr2awv3mjawng==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/ Gravity/southeast "alt=" Picture description "title=" "style=" Border:0px;vertical-align:middle;margin:auto; "/>
If you provide a good answer to a question, people will vote in favor of your answer.
650) this.width=650; "Src=" http://img.blog.csdn.net/20170109150707660?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvynjvywr2awv3mjawng==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/ Gravity/southeast "alt=" Picture description "title=" "style=" Border:0px;vertical-align:middle;margin:auto; "/>
On the contrary, bad questions and bad answers will be voted against. Good questions in the search results will be high priority, and Yun good answers will be displayed on the top of the page. Prestige points are rewarded (or removed) for each pro/negative of the user, and the accumulated prestige value is also displayed next to all user names on the page. The idea behind all these polls and points is to make good things come out, and the bad things get hidden. This system is very good; you can almost find the answer to any programming question. If the problem has not been asked, you can ask, usually within an hour to get the answer.

3. Forum

When I first started programming, the online forum was the best way to find answers to programming questions at the time. While I was studying Perl, I spent a lot of time in the Perl forum.
650) this.width=650; "Src=" http://img.blog.csdn.net/20170109150715953?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvynjvywr2awv3mjawng==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/ Gravity/southeast "alt=" Picture description "title=" "style=" Border:0px;vertical-align:middle;margin:auto; "/>
Although I am grateful for these forums, I am glad that StackOverflow and other similar quiz rankings have largely replaced the forum. You know, forums are hard to do with information filtering. A question may be answered by a lot of pages, and the answer to the question may be on either page, or there may not be a good answer at all. The only way to know the answer is to read through every reply on each page. As you can see in the forum, the forums are usually not very nice. However, one of the advantages of the forum is that they are generally targeted at a particular programming language, so the forum attracts world-class experts in the language. The gathering of experts will make the forum an unfriendly place for beginners. Generally I suggest to use StackOverflow to solve the problem, but the forum may be helpful in the case that StackOverflow is not resolved.

When did

Programmers value efficiency, not only in code, but also in life. They are willing to offer help, but they will cherish their time. Don't ask questions until you try your best to find the answers yourself. Before I ask a question on stackoverflow, I ask myself:

    1. Do I have Google? What results did you get from Google and why didn't the results answer my question?

    2. Have I read the documentation yet? What section of the document did I read, and why did the document not answer my question?

    3. Has anyone asked the same question? Why is the answer to the previous question not working in my scene?

As a programmer, I also fancy efficiency. I want to find the answer for myself, but I don't want a search without purpose, so if I've tried Google, tried the document, tried searching for StackOverflow, or couldn't find the answer, I know it's time to ask a question.

Toy Duck
By asking questions, you can often find the answers. Constantly trying to describe a problem in a concise language can help you understand your problem better and perhaps even reveal the answer to the question. Find a plush toy (duck is good), put it next to the computer, when you encounter problems, ask the Ducks. The toy duck is a good listener and has a lot of free time. If you haven't figured out the Ducks, ask a real person. Tell him you've asked the Ducks.

How to ask

When it comes to asking questions, you should be aware that "there are no stupid questions in the world," which is not applicable in a programming forum like StackOverflow. I'm not saying this because it's mean, but let you know that if you ask a bad question, you might be taught instead of getting the answer. Community members will focus on how to fix your bad problems, not how to fix your problems. On the other hand, if you ask a good question, you will get a good answer, see how good your problem is, and you may get some rewards.

1. As simple as possible

People who answer questions in StackOverflow and other forums are volunteers who will not be compensated for answering your questions (except for prestige points), so you should try to make your questions easier to answer. Write a clear description of the problem, list the resources you find when you search for answers yourself, and why those resources don't answer your questions. Your questions should be comprehensive but not lengthy, and if the problem is long, you should add an overview that the less time the reader takes to understand your problem, the more time they have to find a solution and write an answer.

2. Don't be shy: Post your code

The first time I asked a question on StackOverflow, I didn't include my code because I didn't mean it very well. I'm afraid people will make fun of my code, not answer my question. In fact, programming problems are difficult to answer without seeing the code that causes the problem. It's like a doctor using the phone to diagnose, "it sounds as if you have a stomach flu, or maybe appendicitis." "Sticking out the code that is relevant to your problem will help you get a better answer."

By teaching others to learn

You can learn a lot by doing projects, but you can learn more by teaching others. In the process of learning how to program, it is the time for you to teach others how to program. By teaching others what you've just learned and what you're learning, it's just that you understand the knowledge as a beginner needs. Older handlers may know more than you do, but that also means that their way of explaining the problem can be complicated and difficult to understand. In this way, you are better suited to teaching beginners than others.

1. Answer the question

You don't need to find a programmer's job to start teaching. You can start by answering questions. Find the questions you can answer on the StackOverflow. You've learned a bit about HTML, JavaScript, and Google chrome extensions, and you can try to answer questions related to these topics. If you're not used to answering questions on StackOverflow, you can still answer questions. Find someone else who is learning programming (or persuade a friend to learn programming), and then you can answer each other's questions. The two of you will learn more than what you have learned on your own.

2. Write a blog

Writing is also a good way to learn (I guess that's why you write so many papers when you go to school). You've learned a lot about good writing, such as how JavaScript functions, what the source code is, and why you use Grunt and how to use Grunt, how to use Chrome developer tools, and how to create a chrome extension. As you begin to write these topics, you will find that there is a gap in your understanding. When you try to fill these gaps, you will understand the concept more profoundly. Remember, you have a good angle to teach others, because you are learning the concept yourself. If you're not used to writing a blog for the rest of the world, you can write a letter to your toy duck, which is a good listener.
This article is selected from the "Road Programming", click this link can be viewed in the blog point of view website.
650) this.width=650; "Src=" http://img.blog.csdn.net/20170109151150224?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvynjvywr2awv3mjawng==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/ Gravity/southeast "alt=" Picture description "title=" "style=" Border:0px;vertical-align:middle;margin:auto; "/>
Want to get more good articles in time, you can search "blog point of View" or scan the QR code below and follow.
650) this.width=650; "src=" http://img.blog.csdn.net/20161128135240324 "alt=" Picture description "title=" "style=" border:0px; Vertical-align:middle;margin:auto; "/>


This article is from the blog of "Blog View blog", make sure to keep this source http://bvbroadview.blog.51cto.com/3227029/1890411

Programming problems are difficult to solve, learning to ask questions is the key!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.