Friday, January 30, 2015

Entry 2: Recap of Weeks 1-3

     This is course is essentially an extension of CSC108, which I already completed last term. The last few weeks were mainly about classes and its applications. Classes were briefly discussed in CSC108, but that course only mentioned its structure and a few standard methods. This course goes much deeper into the behaviour of classes as well as its applications. I was very familiar with the idea of classes and its characteristics because I created my own Java classes back in high school. The creation and use of Python classes is essentially identical to Java classes, where there is a class definition and a list of class-specific methods. Back when I was introduced to Python classes in CSC108, I was somewhat surprised by the simplicity of Python classes, compared to Java. Aside from classes, Professor Heap discussed recursion in Week 3. Basically, it is a system where a method uses itself within its definition. It took a few examples for me to understand it, but now I am okay with it. 

     A few other fragments of information were also discussed, particularly in Weeks 2 & 3. Prof. Heap discussed abstract data types and testing code with unit test. This is mainly review, since most of this information was lectured in CSC108. So far, this course is off to a great start and I am looking forward to more surprises in the coming weeks. 

No comments:

Post a Comment