Saturday, 31 January 2015

Week #4: Inheritance

Inheritance is when the functions from a super class also apply to a sub class of the super class. This is important because then a person will not have to repeat functions in each class. The super class outlines the generic layout for the specific sub classes to come. If it important to have a function in the subclasses but it will be different for each sub class the programmer can write the function definition and write and exception for the code so that it is clear that it is needed for the future sub classes.

Saturday, 24 January 2015

Week #3: Why Geeks Should Write 

Writing is a very important and overlooked tool for computer scientists . A big part of creating a program is to make it so that others can understand it. If you are able to explain what it does and how it does it through your doc string and comments then the code will be much clearer and easier for those looking at it to understand. This is especially important when working with a partner. If one person does not know what the other person's code is supposed to be doing then the work cannot be completed in a quick and efficient manner. Also in the future, as with any other person in a professional environment, we will need to be able to send emails that plainly lay out what we need or what message we are trying to get across. Writing is a basic skill that has applications in every discipline and is needed to excel in your field.