Wednesday, April 26, 2017

Object-oriented programming

No comments :
       The focus of procedural programming is to break down a programming task into a collection of variables, data structures, and subroutines, whereas in object-oriented programming it is to break down a programming task into objects that expose behavior (methods) and data (members or attributes) using interfaces. The most important distinction is that while procedural programming uses procedures to operate on data structures, object-oriented programming bundles the two together, so an "object", which is an instance of a class, operates on its "own" data structure.[2]
Nomenclature varies between the two, although they have similar semantics:
ProceduralObject-oriented
proceduremethod
recordobject
moduleclass
procedure callmessage

No comments :

Post a Comment