Object-oriented programming

From Rosetta Code
Revision as of 13:59, 9 June 2009 by rosettacode>Mwn3d (Undo revision 42802 by Dkf (Talk)Paradigms cat is already in enc)

Object-oriented programming (OOP) is a programming paradigm that uses "objects" to design applications and computer programs. It utilizes several techniques from previously established paradigms, including inheritance, modularity, polymorphism, and encapsulation. Even though it originated in the 1960s, OOP was not commonly used in mainstream software application development until the 1990s. Today, many popular programming languages (such as Ada, Java, JavaScript, C#, VB.Net, C++, Python, PHP, Ruby and Objective-C) support OOP.

Object-oriented programming may be seen as a collection of cooperating objects, as opposed to a traditional view in which a program may be seen as a collection of functions, or simply as a list of instructions to the computer. In OOP, each object is capable of receiving messages, processing data, and sending messages to other objects. Each object can be visualized as an independent little machine with a distinct role or responsibility.

See Also:

Citation