Object-oriented language

From Rosetta Code
Revision as of 13:13, 25 January 2007 by rosettacode>CrashandDie (I thought this was kind of necessary, OOP is quite important, and reference to it is even more [wikipedia link])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 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 viewed as an independent little machine with a distinct role or responsibility.

Citation