Sunday, 26 January 2014

Object-Oriented Programming

     Many Programming Languages are Object-Oriented, such as java,C++, and Python which are the program we currently learning and about to learn in the coming up academic years .
   
    The first three weeks of studying on Python give me a higher level of understand on Python. A brand new perspective : design and written codes using Class, which is extremely useful and cool tool to use. it essentially letting us to merges data with the same or similar(we can use the idea of inheritance/sub-classes which is also what we learned in week 3)  property /attributes  under one particular Object.
 
    Before i have a start taking CSC148, in CSC108 i actually thought use classes to code was useless, increase the complexity of the code and it is a total waste of time. However, after three weeks of studying in the lecture and lab , i realized how efficient it is, it is not only helping you  to eliminate duplicate code ,efficiently collect and organize data   , and improve ones written style which is key and important for other programmer to understand your code or work with others on same peace of project.

    The more i play around with it the more i realize how power this OOP is , the idea of Object-orienting is suddenly makes a lot problem used to be impossible to code for me are now relatively easy. i have learned  a lot this three weeks, even tho i know i am just scratching the surface , but i am loving it.

 

No comments:

Post a Comment