Sunday, 2 February 2014

Week 4 :More Recursion

This week's lecture was going more in depth into recursion.  Recursive functions describe a class of objects or methods that have  recursive behaviour when they can be defined by two properties: a simple base case or cases, and have a set of rules that reduce all other cases toward the base case. In theory this technique would simplify our lives, and reduce the room for error for future functions. I have yet to master writing recursive functions but in time I will.  There's about two weeks until the midterm, and honestly I have no clue what I'm doing. This whole idea about a function which calls on itself, and how everything is in a loop is driving me crazy. I can barely keep track of a while loop. Computer science is no longer enjoyable, and the weather is making it hard for me to have the energy to attend morning lectures. Good luck to my fellow classmates in the morning.

No comments:

Post a Comment