Preview

Procedural Programming Vs Object Oriented Programming

Good Essays
Open Document
Open Document
563 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Procedural Programming Vs Object Oriented Programming
Procedural Programming vs Object Oriented Programming
When writing code for a program it is very important to make sure that you use the best language for what the client needs. Prior to making a decision on what language to use, a programmer needs to decide which method he or she wants to use. The two most common methods used by coders in the field today are procedural and object oriented programming (OOP). Making the decision to use an incorrect option could run cause problems during the maintenance stage of the software’s life cycle. Taking the time to determine just what the client needs will assist a programmer with deciding on the proper method to use. Procedural programming is defined as “A list of instructions telling a computer, step-by-step, what to do, usually having a linear order of execution from the first statement to the second and so forth with occasional loops and branches” ("procedural programming," 2014). This method of programming is dependent on procedures that are executed within a program while data is processed separately. As the program goes through the processes any data will be passed between them. While this separation will not be a problem with smaller, less complex programs, it can make the code tougher to read as the program grows in size. Using OOP will prevent this issue along with giving a programmer a couple of features not offered by procedural programming.
Object oriented programming came about in the 1980’s and allowed for more robust programs to be coded. OOP is an approach that “uses “objects” created by programmers to trigger specific functions” (Featherly, K. 2003). All objects in OOP are broken down into methods and fields. Methods are the same as processes in procedural code while the fields are any data needed for the process. Objects are able to store both of these through a process called encapsulation. Since the data is stored within an object, data can be hidden from anything outside of the object,



References: procedural programming. (2014). In Serials Solutions 360LINK. Retrieved from http://av4kc7fg4g.search.serialssolutions.com.ezproxy.apollolibrary.com/?ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info:sid/summon.serialssolutions.com&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=book%20item&rft.title=McGraw-Hill+Dictionary+of+Scientific+and+Technical+Terms&rft.atitle=procedural+programming&rft.date=2003-01-01&rft.pub=McGraw-Hill&rft.isbn=9780070423138&rft.externalDocID=5627347&paramdict=en-US Featherly, K. (2003). Object-Oriented programming. In S. Jones (Ed.), Encyclopedia of new media. (pp. 351-353). Thousand Oaks, CA: SAGE Publications, Inc. doi: http://dx.doi.org.ezproxy.apollolibrary.com/10.4135/9781412950657.n180

You May Also Find These Documents Helpful

  • 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
  • Powerful Essays

    Mat 540 Week 4 Paper

    • 1775 Words
    • 8 Pages

    Although the details can be quite complex, these details are the basic principles of object-oriented programming.…

    • 1775 Words
    • 8 Pages
    Powerful Essays
  • Better Essays

    Venit, S., & Drake, E. (2011). Prelude to Programming Concepts and Design (5th ed.). Boston, MA: Addison-Wesley.…

    • 1800 Words
    • 6 Pages
    Better 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

    While making a program in .NET for commercial usages, there are many methods which are used to prevent reverse engineering and unauthorized usage of that particular program. While keeping the code 's functionality intact, the obfuscation methodology changes the coding in such a way that it becomes quite difficult even with tools to reverse engineer. Remember it becomes difficult not impossible to reverse engineer an obfuscated code. There are numerous ways and means to…

    • 793 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26 Chapter 27 An Introduction to Hardware, Software, and the Internet An Introduction to Software Development Objects and Classes Algorithms Java Syntax and Style Data Types, Variables, and Arithmetic Boolean Expressions and if-else Statements Iterative Statements: while, for, do–while Implementing Classes and Using Objects Strings Class Hierarchies and Interfaces Arrays…

    • 3908 Words
    • 16 Pages
    Powerful Essays
  • Good Essays

    Psy300 Week 8

    • 760 Words
    • 4 Pages

    Understanding object-oriented methodologies is often difficult. You already understand that object-oriented analysis and design emulates the way human beings tend to think and conceptualize problems in the everyday world. With a little practice, object-oriented programming will become second nature to you.…

    • 760 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    6 8c Chapter Excercises

    • 515 Words
    • 2 Pages

    In object-oriented analysis each object represents real people, places, events, and transactions (nouns). Unlike structured analysis, which treats data and processes separately, objects include data and processes that can affect the data. A major advantage of O-O designs is that systems analysts can save time and avoid errors by using modular objects, and programmers can translate the designs into code, working with reusable program modules that have been tested and verified…

    • 515 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    It 210 Weeks

    • 2760 Words
    • 12 Pages

    Venit, S., & Drake, E. (2011). Prelude to programming: Concepts and design (5th ed.). Boston, MA: Addison-Wesley.…

    • 2760 Words
    • 12 Pages
    Powerful Essays
  • Satisfactory Essays

    CSO Gaddis Java Chapter1 1

    • 2953 Words
    • 29 Pages

    © 2012 Pearson Education, Inc. All rights reserved. Chapter 1: Introduction to Computers and Java Starting Out with Java: From Control Structures through Data Structures Second Edition by Tony Gaddis and Godfrey Muganda Chapter Topics Chapter 1 discusses the following main topics: – Introduction – Why Program? – Computer Systems: Hardware and Software – Programming Languages – What Is a Program Made Of? – The Programming Process –…

    • 2953 Words
    • 29 Pages
    Satisfactory Essays
  • Satisfactory Essays

    week 1 assignment

    • 1379 Words
    • 6 Pages

    Drake, E., & Venit, S. (2011). Prelude to programming: Concepts and design (5th ed.). Boston, MA: AddisonWesley.…

    • 1379 Words
    • 6 Pages
    Satisfactory Essays
  • Better Essays

    Venit, S., & Drake, E. (2009). Prelude to programming: Concepts & design (4th ed.). Boston, MA: Addison-Wesley.…

    • 890 Words
    • 4 Pages
    Better Essays
  • Good Essays

    It210 Syllabus

    • 2333 Words
    • 10 Pages

    Course Description This course provides students with a basic understanding of programming practices. Concepts covered include flowcharting, pseudocode methodologies, and an understanding of programming practices. Students will learn how these concepts, when properly applied, improve program design. Policies Faculty and students/learners will be held responsible for understanding and adhering to all policies contained within the following two documents: • • University policies: You must be logged into the student website to view this document. Instructor policies: This document is posted in the Course Materials forum.…

    • 2333 Words
    • 10 Pages
    Good Essays
  • Good Essays

    This paper will discuss the difference between procedural modules and object-oriented methods. How both methods work and some of the pro cons between the two methods.…

    • 926 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Prelude to Programming: Concepts and Design, Fifth Edition, by Stewart Venit and Elizabeth Drake. Published by Addison-Wesley. Copyright © 2011 by Pearson Education, Inc.…

    • 23004 Words
    • 120 Pages
    Satisfactory Essays

Related Topics