Explore BrainMass
Share

Explore BrainMass

    Object Oriented Programming vs Structural Programming

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Discuss why the object oriented programming paradigm is considered a better choice than the structured programming paradigm. Does it reflect our "natural" way of thinking or do you find it artificial?

    © BrainMass Inc. brainmass.com October 9, 2019, 9:04 pm ad1c9bdddf
    https://brainmass.com/computer-science/artificial-intelligence/object-oriented-programming-structural-programming-172346

    Solution Preview

    The solution is attached below.

    Discuss why the object oriented programming paradigm is considered a better choice than the structured programming paradigm. Does it reflect our "natural" way of thinking or do you find it artificial?

    Structured programming (sometimes known as modular programming) is a subset of procedural programming that enforces a logical structure on the program being written to make it more efficient and easier to understand and modify" (Wikipedia.org, 2007a). Eck (2006) describes the approach of structured programming thus: "To solve a large problem, break the problem into several pieces and work on each piece separately; to solve each piece, treat it as a new problem which can itself be broken down into smaller problems; eventually, you will work your way down to problems that can be solved directly, without further decomposition".

    Object-oriented programming (OOP) paradigm uses "objects" to design programs while utilizing many of early and matured techniques such as inheritance, modularity, encapsulation, or polymorphism. Object-oriented programming is a collection of cooperating objects which allow software modularity. Objects are capable of receiving messages, processing data, and sending messages to other objects distinctly designed in terms of responsibilities and functionalities. As such, OOP makes software or hardware maintenance process easier. On the other hand, the traditional way of programming can only be seen as a list of functions/instructions to a computer.

    This seems to be a very useful and "natural", "human" way of approaching a problem. However, as stated in Eck's publication, this methodology has 2 major drawbacks which are not in tune with software engineering paradigms in vogue ...

    Solution Summary

    This solution examines in brief if Object Oriented Programming offers a better alternative than structural programming. It also compares and contrasts both these programming paradigms. This solution is 1000 words.

    $2.19