Saturday, 7 February 2015

Recursion tracing

Recursion tracing

This week in class we have been working on tracing recursive functions to understand how they work and improve our ability to read code. Diagnosing what a recursive function does can be incredibly difficult at times, even when the task that the code completes is not such a difficult to explain concept. There are many different uses of recursive functions that stretch from things that are possible without recursion to tasks that would be incredibly complex without the use of this simple tool. Overall I look forward to doing more work with recursion and actually creating some functions myself.

Week 4 reflection


Week 4 reflection

To this point we have worked with classes and sub classes to assist in OOP (object oriented programming). Assignment one had us work on this to create a general game class along with sub classes and other classes to make it work. I have experienced this in Java but it is interesting to learn these techniques in Python. Overall I have had a good experience in this course thus far and am looking forward to what is yet to come!