Thursday, 23 January 2014

Object Oriented Programming Week 1


This week we learned about Object Oriented Programming.
From my understand object oriented programming is when you create an object and you give it a class and create methods that you can call on if you create an object in the class you've created. We also learned that you can create a new class and place the name of another class in the parameter and it will take the attributes of that class so you don't have to be repetitive.

Also this week we learned recursion, which is very very confusing. Recursion is when you create a function that you call on in the body of your function. It is a very hard concept to grasp and I'm gonna be reading up on this because it not something you can grasp after seeing once.