Sunday, 2 February 2014

Week 4: blog post

Started the week off with a bang in tutorial!  Out of the labs so far, this one really helped me use what I have read and learnt about in lecture and apply it to hands on programming. I had walked into lab believing I have a full understanding of inheritance, but while working with my partner and TA I had learnt that I was approaching programming tasks incorrectly, for instance, when initializing the Motorized class we had included current_pos within the arguments, but the current pos will never be given by the user, it will always start at (0.0, 0.0) then the program will adjust it with the new position. Failure to draw out a program and understand what it is expected to become has hurt me in the past so I am training myself to first plan and draw out what is expected then start creating the program on the computer.
UNITTEST, so I'll be honest, and I hope all of you are as well. I totally forgot about unittest or that it was something of importance in our crazy student lives. I knew the name happened somewhere in my life as a CS student but it's significance or operations did not jog any memory, I knew it was a built in testing method in python. Overall the technicalities are not what I wanted to talk about because I think once we read what the expectations of a unittest were and how to implement it in your program it was pretty straight forward. What unittest has taught me this week which I had never taken into consideration in 108 was building a program, testing that program etc. Obviously with the assignments from last semester we did create a final product but I feel as if 148 is helping us build something of our own to a certain extent.

Lecture was great! Dustin really gave us interesting examples of how recursion is helpful in programming and gave examples of how it worked, I feel like I have an overall understanding of the topic.

In conclusion this week has really helped my understanding of the course, I felt pretty lost in the first three weeks. Even after completing the readings and going to lecture, there wasn't a connection or lasting understanding of the material. I'm excited for this week see you all in class, tutorial or in the lab working on a1! 

MUCH LOVE! :) 

No comments:

Post a Comment