Tuesday, February 23, 2016

WEEK 6, assignment 1

Coming back from the trip to Mexico, I found myself short on time to finish assignment 1. I regretted that I didn't start it earlier.

The assignment is a bit long. it took me some time to read through the given API's, client code to figure out what our classes, methods and functions had to do once we implemented them. After implementing easier classes such as Rider, Driver, Container and Dispatcher came some more difficult ones which used the former classes. Event, Monitor and Simulation were easily the most difficult classes to implement because together they formed the end goal of the assignment: to run a simulation and report the statistics.
The hardest part of the assignment is to figure out the interplay between classes, as when they work as one, it's sort of tricky to find the problem of which.

Friday, February 12, 2016

WEEK 5 term test slaughter and double linked list

   This week has been tough. I thought I was doing really well in CSC148, walking in the exam centre with ass-kicking confidence yet I found myself hopelessly stranded in the test. I didn't even finish it, at all.
    I guess that's a sign of "I should be working harder I guess".

    The lab this week was fun. We talked about linkednodelist, a flexible data type. Also I was practising my one-line-coding skill for example to write if and else in only one line like : Statement 1 if Statement 2 Else. which is really cool.

Wednesday, February 3, 2016

WEEK 4, Linked list - a linked world

     The awesomeness of this week kicked off with the awesome lecture of - linked nodes.
     I’ve seen normal list[], tuple(), and dictionary{}, but the attributes and elegance of linked nodes are intoxicant. It’s hard to explain, and that is the beauty of it - The data, one linked after another, as the data can be an integer, string, or even list, tuple, dictionary, as long as it’s an object. It’ just like the world we live in. There is no one on this planet can live by himself alone, ever since he is born, he is linked to his parents, society, and the sky and the earth. It is the connections, and the interplay between them help the man to live. And so does the data. The linked connections between data help them from confusions, data errors, and etc.
     It would be nice if I’m linked to more people of my csc148 class.