Category:Programming paradigm/Object-oriented: Difference between revisions

From Rosetta Code
Content added Content deleted
(Moving info from object-oriented language)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{feature|Programming paradigm}}'''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.
{{feature|Programming paradigm}}'''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, interfaces, [[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.
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. A distinction can be sometimes made between [[wp:Class-based_programming|class-based]] and [[wp:Prototype-based_programming|prototype-based]] (also known as [[Classless-objects|classless or class-free]]) forms of object-oriented programming.


An '''object-oriented programming language''' (also called an OO language) is one that allows or encourages, to some degree, object-oriented programming techniques such as encapsulation, [[inheritance]], interfaces, and [[polymorphism]]. [[Simula]] (1967) is generally accepted as the first language to have the primary features of an object-oriented language. It was created for making simulation programs, in which what came to be called objects were the most important information representation. [[Smalltalk]] (1972 to 1980) is arguably the canonical example, and the one with which much of the theory of object-oriented programming was developed.
An '''object-oriented programming language''' (also called an OO language) is one that allows or encourages, to some degree, object-oriented programming techniques such as those listed above. [[Simula]] (1967) is generally accepted as the first language to have the primary features of an object-oriented language. It was created for making simulation programs, in which what came to be called objects were the most important information representation. [[Smalltalk]] (1972 to 1980) is arguably the canonical example, and the one with which much of the theory of object-oriented programming was developed.


==Citation==
==Citation==

Latest revision as of 20:20, 25 May 2023

Programming paradigm/Object-oriented is a programming language feature.

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, interfaces, 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. A distinction can be sometimes made between class-based and prototype-based (also known as classless or class-free) forms of object-oriented programming.

An object-oriented programming language (also called an OO language) is one that allows or encourages, to some degree, object-oriented programming techniques such as those listed above. Simula (1967) is generally accepted as the first language to have the primary features of an object-oriented language. It was created for making simulation programs, in which what came to be called objects were the most important information representation. Smalltalk (1972 to 1980) is arguably the canonical example, and the one with which much of the theory of object-oriented programming was developed.

Citation

Subcategories

This category has the following 105 subcategories, out of 105 total.

A

B

C

D

E

F

G

H

J

L

M

N

O

P

R

S

T

U

V

W

  • Wren(1 C, 1,674 P)

X

Z