Object-oriented programming: Difference between revisions

Content deleted Content added
Semantics / usage (colloquial use of religious metaphor rather than clear language is inappropriate in a technical article, indeed in most encyclopaedia entries)
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Line 5:
{{Programming paradigms}}
 
'''Object-oriented programming''' ('''OOP''') is a [[programming paradigm]] based on the concept of "[[Object (computer science)|objects]]", which can contain [[data]] and [[Computer program|code]]: data in the form of [[Field (computer science)|fields]] (often known as [[Attribute (computing)|attributes]] or ''properties''), and code, in the form of procedures (often known as ''[[Method (computer science)|methods]]'').
 
A feature of objects is that an object's own procedures can access and often modify the data fields of itself (objects have a notion of [[this (computer programming)|{{code|this|C++}}]] or {{code|self|swift}}). In OOP, computer programs are designed by making them out of objects that interact with one another.<ref>{{Cite journal