2014年1月22日 星期三

Object-Oriented Programming

During the classes of Csc148 these 2 weeks, I've learned a new concept which I've heard from my friend who has been writing programs for years that will help me on writing programs in the future, Object-Oriented Programming. At first, I wasn't quite get the idea when I first heard the professor explaining it in class. Therefore, I searched it on internet and found a lot of paragraphs about it. These paragraphs helped me a lot on understanding the concept. According to the paragraphs, OOP(as known as Object-Oriented Programming) is an opposite concept from the traditional concept. Traditional concept simply sees a program as a combination of functions. However, in OOP, every object can receive, process and give data to another object, which means we can see each object as a different processing machine. Nowadays, OOP has been widely used in large projects since it's easier to design and to repair. More importantly, supporters of OOP claims that it's easier to learn programming since it makes programs easier to analyze, design and understand.

In my understanding, OOP can help me a lot in programming since each object can interact with another, which I believe that the programs I write will be more efficient and faster in the future