Hello everyone, today I bring you this tutorial with some tips on how to effectively search on Google.
Many times, we have a problem or we’re stuck while programming and we want to quickly find the solution, but we spend hours and hours searching without success.
- First of all, search in English. If you need to find a solution to a programming problem, the best thing you can do is search in English. There are multiple internet forums where you’ll find the answer or possible solutions to try, and the vast majority of them are in English.So, if we’re searching for how to set text in a TextView programmatically in Android, what we should enter is set text TextView Android programmatically.
This way, Google will display the search results with various accurate solutions. The strategy I used to find this answer is as follows:
- First, I used set text, which is the action I want to perform.
- Then, TextView, which is the object I want to use.
- Next, the word Android, which is the programming language I’m using.
- Finally, I specified programmatically because I want to use native code and not XML.
Of course, whenever we search in English, the solutions will appear in English.
The next tip for effective searching on Google is:
- Use quotation marks ““”. Quotation marks ““” are used to find an exact word or phrase within a Google search. For example, if we want to find how to automatically add meta description in WordPress using PHP mentioned exactly, we need to enter the search query as ““how to automatically add meta description in WordPress using PHP”” (within quotation marks).
Here it is without quotation marks:
Here it is with quotation marks:
Another tip for searching on Google is
Try to be very brief with what you want to search for. That is, we are going to try to indicate in a simple way and with few words what we want to find. For example, if we don't know how to loop in Python, we'll put loop python instead of how to loop in python.
And here is this little tutorial for today, on how to search Google to find solutions to our code.