Object-oriented programming: Difference between revisions

Content deleted Content added
m.e. verrrry important core concept filled in ( sourced)
m.e.
Line 4:
{{Programming paradigms}}
 
'''Object-oriented programming''' ('''OOP''') is a [[programming paradigm]] based on the concept of [[Message#In_computer_science|messages]] [[EventMessage (computing)passing|passed]] between ''[[Object (computer science)|objects]]'',<ref name=alanKayOnOO /> which can contain [[data]] and [[Computer programsource-code|code]]. The object-data is in the form of [[Field (computer science)|fields]] (often known as [[Attribute (computing)|attributes]] or ''[[Property (programming)|properties]]''), and the object-code is in the form of procedures (often known as ''[[Methodmethod (computer sciencecomputing)|methods]]'').
 
A common feature of objects is that procedures (or methods) are attached to them and can access and modify the object's data fields. In this brand of OOP, there is usually a special name such as [[this (computer programming)|{{code|this|C++}}]] or {{code|self|swift}} used to refer to the current object. In OOP, computer programs are designed by making them out of objects that interact with one another.<ref>{{Cite journal
| last1 = Kindler | first1 = E.
| last2 = Krivy | first2 = I.