Hi everybody! In this
week’s post, I would be revisiting an earlier posting of mine named, ‘Object
Oriented Programming Summary’, and would be comparing my experience in learning
about OOP with those of my classmates.
Over the duration of the course, I have come to strengthen
my understanding of Object Oriented Programming. In the initial stages, I had
some difficulty understanding classes and the notorious ‘self’. In my earlier
post, I demonstrated a diagram, which was like a box with smaller boxes inside
that helped me visualize the process of OOP. At that point in time, I still had
some problems trying to wrap my head around the notion of inheritance and
especially about functions can inherit class-defined methods and variables.
Working on Assignment 3 has helped me understand how this works. Furthermore,
working on the assignments and labs has also helped me understand the concept
of ‘self’ better. Today, I understand that self helps to state that the method
works on the instance or object defined in that class. In other words, it helps
point to the class where the method should work.
I have decided to compare my experiences on OOP with those
described in the following blogs:
http://akcolter.blogspot.ca/
The blogger of this blog seems to have a different
experience from mine, in which he/she found the concept of OOP to be intuitive.
However, the blogger had also found the concept of inheritance to be difficult
to grasp. One approach that the blogger has used to clarify his/her doubts is
the use of the Python Visualizer, which I think is a great idea and I will use
this resource more in the future.
Another blog that compared my experiences to is http://klaracsc148.blogspot.ca/.
The blogger had a completely different experience from mine, in which she found
the concept of classes to be hard to grasp whilst the concept of inheritance to
be easier to grasp. I particularly found her description of ‘composition’ to be
insightful because, although I was aware of that concept, I was not aware of
the technical term for that. Her description of classes has also helped me
understand classes better.
Lastly, I also decided to compare my experiences with that
of those described in this blog, http://ak148slogaddress.blogspot.ca/.
Although, the blogger has not really described his/her experiences, they have
done a great job in explaining the concepts of property and inheritance. I
particularly found their advice of ‘DRY or Don’t Repeat Yourself’, to be
helpful in programming.
Therefore, I have come to realize that everyone in the course
has found different aspects of OOP to be easy or difficult. Their blogs have
truly helped me improve my understanding of not only OOP but also other
concepts. Furthermore, their doubts have also helped me question my understanding
and develop my knowledge.
That is all for this week, I hope everyone is having a great
week. Please check out the linked blogs and leave a comment! Thank you!
No comments:
Post a Comment