Wednesday, 18 February 2015
My Impressions Weeks 1-3
Throughout the first few weeks of the course a lot of new topics were discussed that built on what I have been learning in CSC108. Ideas such as classes and its characteristics served a major role in developing my understanding of computer science. In the first week one of the first topics we tackled was how to write our own class, instead of the standard function implementation I explored in CSC108. This has taught me to connect ideas together to represent a larger idea and concept. The second week I learned more efficient ways to write code, such as list comprehensions as well as different attributes for a class and different test methods. Not only have list comprehensions shorten my code for if statements and for loops, it was especially useful for the third week, where we introduced to recursion. In addition to recursion, we focused on the importance of inheritance and exceptions. With inheritance, we can incorporate the same attributes from one class to another and add or alter an attribute to make a collection of classes. In week 4 I will continue to explore recursion, which will be used throughout the remaining of the semester.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment