Monday, 28 March 2016

Week 11 - Looking Back at Week 7

A few weeks ago (week 7) I wrote a blog post on the topic of recursion. In that post I talked about why recursion was useful and gave a few examples of what it could be used for; factorials and the Fibonacci sequence. However, I did not know how to apply it in real life situations.

It was not until the past few weeks that I really understood why recursion is useful in real programs. I've touched this topic in high school but not into the depth that I'm learning in this course. From the examples given during lectures and especially the previous assignment, I'm finally understanding how useful recursion really is and how it can be applied in real life. For the assignment we had to use recursion in order to implement two different search methods. These search methods also had to use methods from other files in order for the program to run. To me, this really showed the importance of recursion.

On my post from week 7 I wrote that recursion was a difficult topic for me and that I was having trouble implementing it. While recursion still is a difficult topic, I believe that I've improved on it a bit and that I will continue improving on it, especially now that I know how it can be used in a real life program.

No comments:

Post a Comment