Tuesday, October 8, 2013

Object-oriented programming language

Object-oriented programming language is a programming language focus on treating a set of data as an object. Programmers can freely manipulate the objects without knowing the logic behind of how to manipulate the objects. Not only that object-oriented programming model in the analysis of moving and making connection with the set of data, it also provides encapsulation and security that prevent data from accidentally accessing. Furthermore, the concept of class allows the programmer to create any new type object that is not defined in the language itself and create different kind of connection such as inheritance and polymorphism. Programmers don't have to worry about the memory space that it will need to take to store the new type object.

Object-oriented programming is good for introducing to new computer scientist into computer language or to just solve a simple problem within caring about all the detail behind. But for solving a complex problem, such that it needs to be more efficient or that is needed less memory space, object-oriented programming may not be the best option. Since it will include a lot of code that will be useless for the problem you are solving

1 comment:

  1. Good job explaining the concept, and mentioning that OO programming is not suitable for all the problems. There are certainly problems that we can solve much easier using other programming paradigms (e.g, functional programming).

    ReplyDelete