What is Object Oriented Programming?

internet computers

Object oriented programming, or OOP, is one model of programming language. Unlike other examples of computer programming language, object oriented programming focuses on the use of objects instead of actions in order to carry out tasks. This use of objects to design applications instead of actions also involves taking an approach that is more mindful of data and less concerned with logic, which is more commonly the case in other paradigms.

This different approach taken by object oriented programming means that the view of objects and actions is reversed. The emphasis is on the objects themselves rather than on the execution of tasks that employ the objects. In like manner, the structure of object oriented programming does not consider deciding on how to employ the logic, but on the definition of the data that will be used in the programming.

Designing computer programs with the approach of object oriented programming begins with defining the objects that are to be manipulated by the program. Once the objects are identified, the programmer will begin to identify the relationship between each object. This process is usually referred to as data modeling. Essentially, the programmer is seeking to place the objects into a classification, thus helping to define the data that is part of the inheritance brought to the task by each object. In fact, the process of defining these classes and subclasses of data is normally called inheritance.

Object oriented programming also helps to sort objects in a manner that allows for the phenomenon of polymorphism to take place. That is, different objects will be able to respond to a common message, but each in a different way that is unique to that object. At the same time, object oriented programming allows for the encapsulation of an object, effectively hiding or protecting the data associated with the object from easy view without security access.

One of the advantages of object oriented programming is that the process makes good use of modularity. That is, objects and tasks are grouped in a way that each module is capable of independent consideration. This can be a great help when making enhancements to a program, as modularity makes it possible to address the task of making alternations to the setup of one portion of the programming without impacting the structure and function of the other modules.

Related wiseGEEK articles

Category






  
  
	

	

	

		
	

	

FREE: Subscribe to wiseGEEK

 
    learn more

our strict privacy policy ensures that your email address will be safe



Written by Malcolm Tatum

copyright © 2003 - 2008
conjecture corporation