Sunday, 26 January 2014

Object-Oriented Programming

So far in class, we've really been focusing on object-oriented programming. We create objects with classes, and these objects can perform methods. We've created classes such as a Stack, a Queue, and even a dog toy for our first exercise.

I'm enjoying it so far, but that's probably only because we haven't gotten to the hard part of the course. The one thing I always forget though is that while I'm dealing with the class's methods, I usually leave it out the 'self' parameter, returning me with errors. The first time I made that mistake, it took me a couple minutes just to realize what I've done. I guess what I can do to fix this problem is to just practice creating classes.

One of my achievements this week was finishing my tutorial quickly. Although my partner was really experienced with coding and was breezing through the parts where he was the driver, it didn't take me that long to do my half as the driver also. I kept up for the most part, and I'm pretty proud of that.


1 comment:

  1. Glad to hear you're happy with your performance in the labs. It can be intimidating if you're working with someone who just "gets" it or who has more programming experience. Keep at it!

    ReplyDelete