Object-oriented programming: Difference between revisions

From Rosetta Code
Content added Content deleted
(Added reference to Ada. Ada 83 was object-based. Ada 95 is object-oriented)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[:Category:Programming paradigm/Object-oriented]]
[[Category:Encyclopedia]]'''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 sharp|C#]], [[Visual Basic .NET|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:==
* [[Object-oriented language]]

==Citation==
* [http://en.wikipedia.org/wiki/Object_oriented_programming Wikipedia:Object oriented programming]

Latest revision as of 19:51, 17 August 2009