Preview

Comparison of Object Oriented and Structured Programming

Good Essays
Open Document
Open Document
826 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Comparison of Object Oriented and Structured Programming
OO Comparison Paper
Object-oriented programming is the predominant paradigm in the software development world. Thus, it is important to understand how object-oriented programming works. One useful exercise may be to compare and contrast object-oriented programming to more traditional structured programming. I will do just that in this essay. We will review some history, give a brief overview of both paradigms, and discuss how they are similar and different. First it’s important to understand the history of these methodologies. Structured programming is itself an improvement of a more primitive paradigm. As the first computers gave way to more powerful systems in the 50s and 60s, the programs that ran on them became more complex. The Goto statement became very common, as it allowed additional flexibility by transferring control to different parts of a program. However, the overuse of the Goto statement resulted in programs becoming so convoluted as to be unreadable by even expert programmers. Such tangled logical sequences became known as “spaghetti code.”
Computer scientists recognized a need for order, and structured programming was the result. They rejected the Goto statement, and instead proposed the three basic control structures that we still use today: sequence, selection, and iteration. They also advocated grouping data into structures the use of subroutines that receive and output data. A closely related subset is Procedural Programming, which incorporates the idea of modularity: creating independent, reusable pieces of code that perform specific functions.
The process these computer scientists were engaged in is known as abstraction. Abstraction allows us to add a layer of conceptual meaning to more concrete details. It allows the human mind to better grasp what the program is actually doing. The overall result of this abstraction was improved readability and simplicity of code. With that in mind, we can see that object oriented programming

You May Also Find These Documents Helpful

  • Satisfactory Essays

    In 1970 C programing was created by Dennis Richie and ken Thompson was made to create portability in UNIX…

    • 388 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Homework Unit 3

    • 354 Words
    • 2 Pages

    1. Statements are execute in order according to the program code. Complex programs can need the help of a decision structure. Statements have to be true to be executed.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Mat 540 Week 4 Paper

    • 1775 Words
    • 8 Pages

    If you consider a kitchen, you see it is also composed of several, smaller components, including the oven, refrigerator, and microwave. Top-level objects are composed of smaller components that do the actual work. This perspective is a very natural way of looking at our world, and one with which we are all familiar. We do the same thing in object-oriented programming:…

    • 1775 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    Procedural language is used for developing simple applications. The languages that use the procedural programming are Pascal and C languages. Some of the benefits of the procedural programming are: easy to read program code, easily maintainable program code as various procedures can be debugged in isolation, code is more flexible as you can change a specific procedure that gets implemented across the program.…

    • 337 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Psy300 Week 8

    • 760 Words
    • 4 Pages

    • Describe the architectural differences between the object-oriented and structured designs. Which of the designs makes more sense to you? Why?…

    • 760 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    What is procedural or algorithmic programming? What is object-oriented programming? What is the role of code reuse in object-oriented programming? Under what circumstances is object-oriented programming best suited? Under what circumstances is procedural or algorithmic programming best suited?…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    It210 Week 1 Dq#2

    • 329 Words
    • 2 Pages

    Whereas the modular approach is designing a program to solve a particular problem is to identify the major tasks that the program must accomplish then we can break each of these fundamental, “high-level” tasks into smaller subtasks (Stewart Venit, 2004, p. 31) and this division process can be continued as long as seems necessary to identify the tasks needed to solve the given problem. This process of breaking down a problem into simpler and simpler subproblems is called top-down design; identifying the tasks and various subtasks involved in the program design is called modular programming. This modular approach is good for developing the programs effectively and efficiently. Because, if a problem happens, it can be found quickly without searching the whole module for one mistake, as done in structured approach. It’s easy to use and make changes to it (Stewart Venit, 2004, p. 32). Its also provides the code reusability. So, finally we can say that the modular approach is well-organized approach to develop programs quickly and cheaply. And when the project proceeds the changes to the projects is minimized and the uncertainty is minimized which makes this approach more efficient than haphazard approach.…

    • 329 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    What is procedural or algorithmic programming? What is object-oriented programming? What is the role of code reuse in object-oriented programming? Under what circumstances is object-oriented programming best suited? Under what circumstances is procedural or algorithmic programming best suited?…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The main objective of this course/subject is to provide students with knowledge and applications of Object-Oriented Programming through the use of the Java programming language.…

    • 414 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Grace Murray Hopper

    • 1336 Words
    • 6 Pages

    The Mark I was the first digital computer to be programmed sequentially. The complex code of machine language could be easily misread or incorrectly written. To reduce the number of programming errors, Hopper and her colleagues collected programs that were free of error and generated a catalogue of subroutines that could be used to develop new programs. By this time, the Mark II had been built. Aiken 's team used the two computers side by side, effectively achieving an early instance of multiprocessing.…

    • 1336 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    Thought there are numerous computer programming languages in the world today, we will focus on the three basic fundamental types of computer programming languages.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    To be a good programmer you have to be organized and do a lot of thinking when it comes to structures and getting the correct…

    • 605 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Skill questions

    • 318 Words
    • 2 Pages

    If, Then, and Else are three control structures used in Linux Programming. Control structures are used to control or alter the order of execution of commands within a shell script. The If, Then, and Else control structures are used to test a condition within a program. If what is being tested is false the program will follow one path, if true it will follow a different path.…

    • 318 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Task 1

    • 2644 Words
    • 8 Pages

    Procedural programming is a programming language that works with like a step by step guide of how to do something. Like a procedure in a work place it the same thing over and over in step hence the name. In order for a procedural program to work you need to set up a set of instructions for the user to follow. Like telling them what to input each time. You also have to set up a sequence of instruction steps so this can tell the computer what to do first and second and so on. Procedural programming languages are: C++, C, FORTRAN, Pascal and Basic.…

    • 2644 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Logical organization consists in the division of the main memory in different segments. There are two ways a main memory in logical organization can be organized as a one-dimensional or a linear. The address space is of a series of words or bytes. Mainly programmers create programs using modules, some of this…

    • 683 Words
    • 2 Pages
    Good Essays

Related Topics