Sunday, June 23, 2019
Procedural programming languages and object oriented programming Essay - 1
Procedural programming wrangles and object oriented programming language - Essay ExampleProcedural programming languages are those that follow the procedural effigy for programming as is evident. The procedural approach basically guides to transform processes into procedure. initiatory the processes are identified, and then they are broken down into smaller processes which finally shape into procedures. There are several limitations in the procedural approach wish extension and re-usability of code is quite limited because of its nature as compared to the object oriented approach, where objects can be reused, updated and redesigned without having adverse effects on overall arranging functionality. Furthermore, code management also becomes challenging because of its sequential nature.Several object oriented languages offer program solutions based on the object oriented paradigm like Java, C++, .Net, Ada, SmallTalk etc. One of the most important aspects of OOP languages is dynam ic binding or late binding.OOP offers a rather different approach than procedural approach. The process of abstraction is managed by objects. Every process will be broken into inter object interactions. OOP languages supports objects, classes, instances, method, message, inheritance, subtype principle etc (Aaby Pg. 968). Class inheritance allows the member attributes and functions of ace class to be used as if they were members of a second class. Inheritance is one of the primary characteristics of OO programing (Lippman, Pg. 391). In OOP methodology a system of rules basically consists on interactions of objects and each object has to perform its own responsibility after that the responsibility is delegated to other objects. This delegation of responsibility is through the messages. In OOP methodology the system analysis and design consists of the following stepsObject definition or classes basically describe the objects. The class or object definition consist of properties/ attr ibutes
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.