ada-build

The Ada Developers Academy Jump Start program, which is intended for anyone who is interested in beginning their journey into coding.

View the Project on GitHub Ada-Developers-Academy/ada-build

Effective Internet Searching

Ada Build - Learning at Ada - Lesson 1

Learning Goals

By the end of this lesson you should be able to

Overview

Software developers do not have all of the answers. Instead, a good portion of their time is spent searching the internet and references for the answers. Common tools that developers use include StackOverflow and Google. What’s most important is that you can find the answer, not that you know the answer right away.

Activities

Techniques

Applications - Searching For Errors

Often when you are confronted with an error message, for example:

>>> 
>>> names = ("Ada", "Grace", "Katherine")
>>> names[3] = "Paula"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'tuple' object does not support item assignment
>>> 

You can select the error message: TypeError: 'tuple' object does not support item assignment and enter it into Google.

This will bring you to a number of questions online where people have encountered the same question earlier. Then you can evaluate the source of each article. StackOverflow is a likely source of similar questions, Quora is a bit less likely, and InterviewCake usually has to do with interview topics rather than the exact error message and how to stop it.

Narrowing It Down Further

You can further narrow down results to a problem like the above by putting the error message in quotes and adding pertinent keywords to the search, such as “Python”. So the search term "TypeError: 'tuple' object does not support item assignment" Python is likely to narrow things down quite a bit.