Wednesday, 18 February 2015

OOP - Object Oriented Programming

A Bit More Convenience

It's much easier to play something like a board game when you don't need to keep the entirety of the game within your mind. A visual representation, like the physical board game, makes it much easier to keep track of everything going on and much easier to make more complicated moves.

In my high school, the computer science class worked with Visual Basic 08, which was very simple and object oriented using default objects within Windows forms. The class could accomplish quite a few things, despite never really going into advanced coding, I'm pretty sure we finished with creating our own function calls. Though I know more with Python, I'd never be able to make a game as complicated with it as I could with VB, simply due to the differences in languages and how easy object oriented programming can be.

All we need to do is add our own objects and classes within Python, and whenever we need to make complicated programs or games, it is made insanely easier just because we already have an object that can handle most of the complicated stuff itself, rather than hard coding practically everything.
Object oriented programming brings insane simplicity and potential.

Saturday, 7 February 2015

Recursion

Recursion over and over again!


The last week or so we've been tracing recursive functions, simple enough, since they all seem to look exactly the same while doing something different. As soon as you get one recursion down the rest pretty much just fall into place which is extremely useful since I'm pretty sure we're going to end up writing our own recursive functions, and having what they look like ingrained in our brains should help with that.

If we're going to add onto our first assignment for the rest of the assignments, making one of the games use recursive functions is going to be great fun.

Tuesday, 3 February 2015

First few weeks..

Were a little repetitive

I honestly felt like we kept talking about the same thing each week just with different examples in the wednesday lecture. We definitely did learn a few new things such as parent and child classes, property, etc. and most of it what pretty useful for the first assignment, though it didn't help explain the assignment.

Hopefully, we'll continue to learn some fun new things with python such that we're able to code practically anything in the most arbitrarily redundant way and have it still work.