Thursday, 5 February 2015
Week 5
During the fourth week of csc148 a concept that learned was the method of recursion. Even though I learned what recursion is from grade 12 in Java, I still learned new ways of understanding the topic. Before, I was never taught a way of tracing the recursion, as the method was being called. The classes and tutorials have me stronger at tracing a recursive method and figure out what the method is for without having to read a docstring. Although, I still have difficulty creating my own recursive methods.
Being able to trace a recursive method is rather easy, pen and paper is all that is needed, but when it comes to creating my own it is not quite as easy. On top of that I also don't have a feel of when such a skill such as recursion comes into play, in other words, when I'm programming I don't recognize the situation. This weakness came to surface when I was getting frustrated on how to create the method for task they had given me. Even when programming in high school, I was never particularly strong at recursion but I do plan on rectifying this weakness by working on exercise problems, to become more comfortable at making recursive methods but also when it is beneficial to use them.
Subscribe to:
Posts (Atom)