0 added
0 removed
Original
2026-01-01
Modified
2026-02-21
1
<p><strong>One of the most important skills for a programmer is the ability to find answers and solve problems using Google. A lot of the problems that beginners face have already been solved and described before. All you need is to learn how to find these solutions and answers.</strong></p>
1
<p><strong>One of the most important skills for a programmer is the ability to find answers and solve problems using Google. A lot of the problems that beginners face have already been solved and described before. All you need is to learn how to find these solutions and answers.</strong></p>
2
<h2>Contents</h2>
2
<h2>Contents</h2>
3
<ul><li><a>Websites</a></li>
3
<ul><li><a>Websites</a></li>
4
<li><a>Language</a></li>
4
<li><a>Language</a></li>
5
<li><a>Search engine</a></li>
5
<li><a>Search engine</a></li>
6
<li><a>Query language</a></li>
6
<li><a>Query language</a></li>
7
<li><a>Library search</a></li>
7
<li><a>Library search</a></li>
8
<li><a>Search by error message</a></li>
8
<li><a>Search by error message</a></li>
9
<li><a>Behavior search</a></li>
9
<li><a>Behavior search</a></li>
10
<li><a>Official documentation</a></li>
10
<li><a>Official documentation</a></li>
11
</ul><h2>Websites</h2>
11
</ul><h2>Websites</h2>
12
<p>The main sites to get your questions answered:</p>
12
<p>The main sites to get your questions answered:</p>
13
<ul><li><a>GitHub</a></li>
13
<ul><li><a>GitHub</a></li>
14
<li><a>Stackoverflow</a></li>
14
<li><a>Stackoverflow</a></li>
15
</ul><h2>Language</h2>
15
</ul><h2>Language</h2>
16
<p>As practice shows, at the beginning most programmers try to search for information in their native language. Sometimes you can find the answer this way, but more often - no.<strong>The universal language for programmers is English</strong>- the whole world speaks it. The amount of information in the English-speaking segment is noticeably higher than in any other. Besides it’s a lot fresher. Learn to formulate your thoughts more accurately, and while searching - compose a set of words in English. This way you will master the terminology faster.</p>
16
<p>As practice shows, at the beginning most programmers try to search for information in their native language. Sometimes you can find the answer this way, but more often - no.<strong>The universal language for programmers is English</strong>- the whole world speaks it. The amount of information in the English-speaking segment is noticeably higher than in any other. Besides it’s a lot fresher. Learn to formulate your thoughts more accurately, and while searching - compose a set of words in English. This way you will master the terminology faster.</p>
17
<h2>Search engine</h2>
17
<h2>Search engine</h2>
18
<p>To continue the previous section it’s important to note that the best way to search for information is using Google. Although local search engines are fine for certain tasks, the English-speaking segment isn’t their main market, and they are much inferior to Google. For example, you will notice that after a while Google adapts to your queries and starts showing more relevant links. It can understand which programming language you prefer and will output the related answers.</p>
18
<p>To continue the previous section it’s important to note that the best way to search for information is using Google. Although local search engines are fine for certain tasks, the English-speaking segment isn’t their main market, and they are much inferior to Google. For example, you will notice that after a while Google adapts to your queries and starts showing more relevant links. It can understand which programming language you prefer and will output the related answers.</p>
19
<p>Another important point: Google search works even better than site search. If you need something, for example, on Github, it's better to make the proper Google query to get a better and faster result. The below section "query language" provides further details.</p>
19
<p>Another important point: Google search works even better than site search. If you need something, for example, on Github, it's better to make the proper Google query to get a better and faster result. The below section "query language" provides further details.</p>
20
<h2>Query language</h2>
20
<h2>Query language</h2>
21
<p>Each search engine has a query language. It includes special search operators allowing you to specify more precisely what you want. Here are a few common search techniques:</p>
21
<p>Each search engine has a query language. It includes special search operators allowing you to specify more precisely what you want. Here are a few common search techniques:</p>
22
<ul><li>site:stackoverflow.com how to test react code - this search will be performed through<a>Stackoverflow</a>.</li>
22
<ul><li>site:stackoverflow.com how to test react code - this search will be performed through<a>Stackoverflow</a>.</li>
23
<li>add class to element -jquery - a hyphen denotes stop words, therefore, all variants excluding these words will be found.</li>
23
<li>add class to element -jquery - a hyphen denotes stop words, therefore, all variants excluding these words will be found.</li>
24
<li>"immutable js" - double quotes indicating to look for an exact match.</li>
24
<li>"immutable js" - double quotes indicating to look for an exact match.</li>
25
</ul><p>The full list can be found<a>on the Google support site</a>.</p>
25
</ul><p>The full list can be found<a>on the Google support site</a>.</p>
26
<h2>Library search</h2>
26
<h2>Library search</h2>
27
<p>The vast majority of libraries are located (they say, "hosted") on<a>GitHub</a>. Let’s say you need to find a library for executing HTTP requests in JavaScript. To do this you can form the following request: github js http client. Google will show you a dozen links to different repositories. Of course, you can also use the query language: site:github.com js http client, but generally it's enough to simply indicate github. The same search strategy can be used for well-known libraries: github express.</p>
27
<p>The vast majority of libraries are located (they say, "hosted") on<a>GitHub</a>. Let’s say you need to find a library for executing HTTP requests in JavaScript. To do this you can form the following request: github js http client. Google will show you a dozen links to different repositories. Of course, you can also use the query language: site:github.com js http client, but generally it's enough to simply indicate github. The same search strategy can be used for well-known libraries: github express.</p>
28
<h2>Search by error message</h2>
28
<h2>Search by error message</h2>
29
<p>Before you search by error message, it’s necessary to understand where<em>the error message</em>is here exactly. Although the output contains a lot of relevant information, it’s not a description of this error. For example:</p>
29
<p>Before you search by error message, it’s necessary to understand where<em>the error message</em>is here exactly. Although the output contains a lot of relevant information, it’s not a description of this error. For example:</p>
30
<p>The output has a lot of text but there is only one real error message: Failed asserting that '1' matches expected 0.. In this particular case, it’s approximately clear what is wrong and where to look (the file and line are indicated in the stack trace below). But so happens not always. If you correctly identified the error message, you may also want to do one thing. Often such messages are personalized: they take specific values of parameters that relate to your environment. For example, paths to files. Hence, if you search throughout the error message, then most likely Google won’t find anything. For example, in the message above, such parameters are '1' and 0. If you clear the phrase, there will be Failed asserting that matches expected. That’s what you have to look for. You can also add language name: php Failed asserting that matches expected.</p>
30
<p>The output has a lot of text but there is only one real error message: Failed asserting that '1' matches expected 0.. In this particular case, it’s approximately clear what is wrong and where to look (the file and line are indicated in the stack trace below). But so happens not always. If you correctly identified the error message, you may also want to do one thing. Often such messages are personalized: they take specific values of parameters that relate to your environment. For example, paths to files. Hence, if you search throughout the error message, then most likely Google won’t find anything. For example, in the message above, such parameters are '1' and 0. If you clear the phrase, there will be Failed asserting that matches expected. That’s what you have to look for. You can also add language name: php Failed asserting that matches expected.</p>
31
<h2>Behavior search</h2>
31
<h2>Behavior search</h2>
32
<p>Sometimes an error message is either missing or cannot lead to a correct answer (since it’s a consequence, not a cause). At this point, you need to be creative and make a sentence in English. A set of keywords will also work. If the search wasn’t successful then try to add site:stackoverflow.com. Stackoverflow is a unique place having answers to almost all similar questions. If you know which library or program exactly the error belongs to, it would be useful to find its repository on Github and study the Issues section. If there definitely is an error, and it’s relevant, then most certainly someone has already mentioned it.</p>
32
<p>Sometimes an error message is either missing or cannot lead to a correct answer (since it’s a consequence, not a cause). At this point, you need to be creative and make a sentence in English. A set of keywords will also work. If the search wasn’t successful then try to add site:stackoverflow.com. Stackoverflow is a unique place having answers to almost all similar questions. If you know which library or program exactly the error belongs to, it would be useful to find its repository on Github and study the Issues section. If there definitely is an error, and it’s relevant, then most certainly someone has already mentioned it.</p>
33
<h2>Official documentation</h2>
33
<h2>Official documentation</h2>
34
<p>Search is good but don’t forget to look into the official documentation for tools (including programming languages). Official (and not only) documentation, as a rule, is divided into following types:</p>
34
<p>Search is good but don’t forget to look into the official documentation for tools (including programming languages). Official (and not only) documentation, as a rule, is divided into following types:</p>
35
<ol><li><a>Getting Started</a>is a small (not always) step-by-step guide helping to create a minimal working version and quickly start working with the tool to see it in action. It’s the first document you need to look for.</li>
35
<ol><li><a>Getting Started</a>is a small (not always) step-by-step guide helping to create a minimal working version and quickly start working with the tool to see it in action. It’s the first document you need to look for.</li>
36
<li><a>Guides</a>are descriptions of the tool components. They are written in a narrative form, so it's not hard to read them from start to finish. They make it easier to learn large blocks of information.</li>
36
<li><a>Guides</a>are descriptions of the tool components. They are written in a narrative form, so it's not hard to read them from start to finish. They make it easier to learn large blocks of information.</li>
37
<li><a>API</a>is a concise documentation on all possible application functions. It is more intended for finding answers to specific questions.</li>
37
<li><a>API</a>is a concise documentation on all possible application functions. It is more intended for finding answers to specific questions.</li>
38
<li><a>Tutorials</a>, in contrast to guides, are aimed at various options for using the tool.</li>
38
<li><a>Tutorials</a>, in contrast to guides, are aimed at various options for using the tool.</li>
39
</ol>
39
</ol>