Wednesday 19 February 2014

End of week six.   Currently in middle of reading weak.   Two thirds of the term are done.  I've made the colossal mistake of taking on a very challenging maths course.  I have hired a PHD in theoretical mathematics tutor to help.  I believe it maybe too little to late. The damage may have been done.  I have dedicated so much time to the maths course  that i neglected  to  properly learn the material for my other classes.   And now 148 midterm is around the corner and all kinds of nasty will hit the fan. 

To recap on week six, we learned of tree diagrams, and two forms of mapping them.  Tree's come with about five definition.  I'm guessing its going to be an important concept for assignment 2.

Sunday 9 February 2014

End of week five.  We have hit mid-way mark of term.  Major assignment is due for week six.  assignment requires excessive amount of man hours. In my opinion the amount of hours put into the assignment doesn't justify the measly 8 - 10 percent potential mark. 

This assignment should be worth 20 - 30 percent of overall mark.  Compared to a humanities course where a 10 - 15 hour essay is worth 30 percent or compared to  midterm exams where 15 - 20 hours of studying are worth 30 percent of overall mark.  Complaints a side, the assignment is a lot of Fun with a capital F.  But who has time for fun?

Sunday 2 February 2014

End of week four,  We covered recursions in lecture with emphasis on tracing.  The concepts are simple but must be practiced to understand their application in different situations.  We finished off exception handing, with a lab this week that used unit-testing to catch exceptions.   The second exercise also on exceptions was handed in this week.  I would love to spend more time on these concepts and play around with some code, unfortunately because of the insane work load from other courses i am able to spare only a few hours a week on this course.   Its a shame, 148 is one of my more interesting courses. My math courses are very time consuming with about double the work load of my other courses. We need more hours in the day.

Thursday 23 January 2014

Object-Oriented Programming



Defined by Wikipedia as “a programming paradigm that represents concepts as "objects" that have data fields (attributes that describe the object) and associated procedures known as methods”.

My understanding is that OOP (object-oriented programming) is a form of computer programming that associates data to computer memory implicitly: that is without the developer having to create objects manually. Rather this grunt work is built into the programming language. On some base level i assume this was already programmed, in the case of Python in C language.

OOP would then be a logical user friendly way of organizing code. Data (computer memory) is married or linked to an Object (anything you like) and then this Object is coded or given instructions. So for example lets say i make a Class (an object linked to computer memory) and call this Class Money. I can then think of this Class as an empty set that i can populate with any operation or instructions i like. While i am doing this the computer is associating this Class with a memory address. Lets say i then give this Class an attribute (another object that is a sub-set of the now non-empty set Money) called dollar. Now the computer assigns or links the object dollar to a memory address that is organized as a subset of type Money.

My understanding of OOP is vague so please comment to add gaps in the information or/and correct mistakes i have unintentional written above.