Difference between revisions of "Object-oriented programming"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (→See also) |
Karl Jones (Talk | contribs) (→See also) |
||
(One intermediate revision by the same user not shown) | |||
Line 24: | Line 24: | ||
* [[Design by contract]] | * [[Design by contract]] | ||
* [[Inheritance (object-oriented programming)]] | * [[Inheritance (object-oriented programming)]] | ||
+ | * [[Member variable]] - a variable that is associated with a specific object, and accessible for all its methods (member functions). | ||
+ | * [[Mock object]] | ||
* [[Modular programming]] | * [[Modular programming]] | ||
* [[Object association]] | * [[Object association]] |
Latest revision as of 17:55, 3 October 2016
Object-oriented programming (OOP, OO, etc.) is a programming paradigm based on the concept of objects.
Description
Objects have two parts:
- Data structures that contain data, in the form of fields, often known as attributes
- Code, in the form of procedures, often known as methods.
A distinguishing feature of objects is that an object's procedures can access and often modify the data fields of the object with which they are associated (objects have a notion of "this").
In OO programming, computer programs are designed by making them out of objects that interact with one another.
There is significant diversity in object-oriented programming, but most popular languages are class-based, meaning that objects are instances of classes, which typically also determines their type.
See also
- Class (computer programming)
- Comparison of programming languages (object-oriented programming)
- Comparison of programming paradigms
- Component-based software engineering
- Computer programming
- Design by contract
- Inheritance (object-oriented programming)
- Member variable - a variable that is associated with a specific object, and accessible for all its methods (member functions).
- Mock object
- Modular programming
- Object association
- Object database
- Object modeling language
- Object-oriented analysis and design
- Object-relational impedance mismatch (and The Third Manifesto)
- Object-relational mapping
- Programming paradigm
- Software design pattern
- UML
- Yii
External links
- Object-oriented programming @ Wikipedia