CIS 3100 Structured Programming Intro

The class object is stored in a file where it can

Info icon This preview shows pages 2–4. Sign up to view the full content.

terms of their data (state) and modules (behavior). The class object is stored in a file where it  can then be accessed by the programs logic and more important be reused by other programs.   THE WHY OF OOP?   Before we learn the techniques necessary to program with objects, it is important to understand  why OOP has become such an important part of application programming. The use of class  objects has become a very important tool in the programmer’s toolbox and understanding OOP  may make the difference in securing that first programming position or promotion.       Let us look at OOP from a very practical standpoint using a business example. Historically,  computer software has always been a labor intensive activity. It takes many hours for  programmers to develop high-quality and efficient software. Rush the development process and  you can be assured that logic mistakes will prevail thus creating an unreliable program. Most 
Image of page 2

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

companies have had problems dealing with a software development backlog. What this means is  that the requests for new software outstretch the ability of the programming staff to create new  programs and maintain existing software. Using existing structured programming techniques  alone might extend an already overburdened programming staff or rush the process at the  sacrifice of quality.       Today, most companies use their computer systems for strategic advantage and  competitiveness. If a company is not able to respond to its competition or to a market opportunity  with new systems, it will suffer via lower profits, lost customers, or decreasing market share. The  main challenge of most software development managers is to deal with the software development  backlog. Any software development tools or techniques that would allow programmers to become  more efficient and productive will always be seen as a great benefit since it can only help the  company's ability to compete. With OOP, one of its main benefits is the ability of programmers to  create snippets of code called class objects that can be reused across many applications. In  short, these generic code snippets combine key variables and modules into containers called  class objects so that they can be used in more than one program.       This process is an extension of what we have already discussed in our chapter on  modularization. It has been taken one step further by not only isolating modules but also the data  associated with them an placed them in a separate file so they can be share by more than one  program (and programmer).
Image of page 3
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern