Tuesday, September 24, 2019
Object-oriented vs traditional structured Essay Example | Topics and Well Written Essays - 500 words
Object-oriented vs traditional structured - Essay Example It is indispensable to note that object oriented programming remains as the most high-level, flexible, and reusable program compared to structured programming. Object oriented programming (OPP), is much advanced than the structured programming languages since it incorporates three important principles of software development like encapsulation for data hiding which is not common in structured system. Structured programming is the application programming method created in a top- down coding style with functions oriented structures. The structured programming employs the programming mechanisms of dividing program source codes into modules, which consist of control statements like loops, library or user defined functions. The development and implementation of structured programming happens sequentially. Object oriented programming promotes the communication of objects and functions in the main program and the classes in private or public manner. There are three characteristics of object-oriented programming which the structured programming does not have for example the encapsulation, inheritance and polymorphism (Pecinovscy, 2013). In contrast, structured programming takes the top-bottom approach in the development of its codes while OOP remains organized into classes and embedded with functions that control the data within the classes. Secondly, structured programming is based on data structures and subroutines while the object oriented has object that supports polymorphism or reusability accelerating system design hence the reduction cost in software development. Structured programming split tasks into modular forms improving the readability and the simplicity of its coding system. While in the object oriented programs each object code structure include the data and the statements controlling the data flow. There is no reusability in the structured code systems while in coding system of the OPP codes there is reusability meaning a section of codes can find use
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment