Sunday, April 5, 2015

Last Impressions

Looking back over the course, the new concepts are not too difficult to understand and implement. Gradually building up to harder and harder concepts, makes learning them much easier. We began to learn recursion, for example, by tracing code and going over simple and more complex examples. By learning to understand how recursion works, we learn the basis behind recursive code and how to write it. After tracing recursive code, we began to write and implement simple recursive functions and step by step learned how to write our own recursive code. Learning this way, makes it simpler and easier. Additionally, learning object oriented programming, rather than other ways to program, made coding games (i.e assignments) more time efficient and expanded our knowledge of python. By using object oriented programming in this course, we were able to write classes and subclasses for games such as tippy and subtract square. This made it more time efficient and easy to code these games, since they were all subclasses and used inheritance. We can add our own games now to the class and expand our code, particularly the game view, which asks the user what game they wish to play (tippy or subtract square). This can be expanded to other games (as long as they are zero sum and sequential).

For this course, there was many conceptual hurdles I had to jump over. I personally found recursion difficult. Even by learning one step at a time, slowly and patiently, I still found the concept, particularly writing and implementing recursive code, hard. One way I learned to jump this specific hurdle was by using the python visualizer to "see" the implementation of the code and understand how it works. Another way, was by using a sort of formula when writing recursive code. By imagining the most simplest example and writing an if statement for that and then imagining a more complex example and writing the recursive part of the function for that example. In general, practice makes perfect, and by practicing recursive code, I was able to become a better programmer.

Course events for this course, such as assignments and tests went well, in general. I had trouble with most of the assignments, since there were always bugs I had to deal with. I may have also started the assignments too late and I didn't have enough time to debug my code and fix the problems. Looking back, I should have begun the assignments as soon as they were posted and throughout the weeks worked on them, even for just a few minutes. Personally, tests went better. All in all I had a great impression of this course and I would definitely recommend it to other students.     

No comments:

Post a Comment