Thursday, November 21, 2019
Procedural programming languages and object oriented programming Essay - 1
Procedural programming languages and object oriented programming language - Essay Example Procedural programming languages are those that follow the procedural paradigm for programming as is evident. The procedural approach basically guides to transform processes into procedure. First 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 like 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 system 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 dynamic 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 one 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 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 steps: Object definition or classes basically describe the objects. The class or object definition consist of properties/ attributes
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.