Object-oriented programming: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Eliminated link to "C plus plus")
m (Replaced encyclopedic tag, fixed links)
Line 1: Line 1:
{{encyclopedic}}'''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 sharp|C#]], [[VB.Net]], [[C++]], [[Python]], [[PHP]], [[Ruby]] and [[Objective-C]]) support OOP.
[[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 [[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.
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.

Revision as of 04:17, 22 January 2008

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

See Also:

Citation