Wait a second!
More handpicked essays just for you.
More handpicked essays just for you.
Disadvantages of object oriented programming
Don’t take our word for it - see why 10 million students trust us with their essay needs.
Recommended: Disadvantages of object oriented programming
Programming has been regarded as a logical procedure that “takes input data, processes it, and produces output data.” (Rouse, 2008, para 1) Three common examples of programming are object-oriented programming (OOP), event-driven programming (EDP), and procedural programming (PP). (Rouse, 2008) OOP is a programming language model defined by “objects” as opposed to "actions" and “data rather than logic.” (Rouse, 2008, para 1) EDP is a programming language model defined by reacting to user or processor actions such as keyboard strokes and mouse clicking to execute a command. (Rouse, 2012) PP is a programming language model defined by a chronological order of statements, tasks, and instructions to run a command. (ATK Solutions, Inc., 2015) There …show more content…
First, OOP consist of the programming code and data are encapsulated into “an object,” unlike PP where programming code is stored in a place in the system called a “function library” maintenance can be cumbersome. (ATK Solutions, Inc., 2015, para 4) Second, OOP entails information referred to as "class", "instance", "inheritance", and "polymorphism" that empowers the object to be flexible for reuse whereas PP is not as flexible due to its dedication to an itemized task. (ATK Solutions, Inc., 2015, para 5) Two examples of OOP in today’s programming world are Java and Ruby. (Rouse, 2008) Java is intended for use in dispersed applications on business networks and on the Internet. (Rouse, 2008) Ruby is intended for use broadly in Web applications. (Rouse, 2008) Both the OOP and PP programming language models are designed for a specific design outcome, but OOP is a more efficient approach for resource processing demand and time. (ATK Solutions, Inc., …show more content…
(Wells, 2001) When compared to using PP, an advantage to using EDP that there is no need for a strict and chronological order of code for the flow of the program. (Wells, 2001) In EDP, the programming code entails an event-loop that idles until an event occurs to call on it. Next, the event then executes the appropriate event-handling routine until a protocol is met or a defined sentinel terminates it. (Wells, 2001) Two examples of EDP in today’s programming world are Visual Basic and Visual C++. (Wells, 2001) Both programming languages utilize an Integrated Development Environment (IDE) that delivers wide-ranging standard controls with each having its own “set of events and event-handler code templates.” (Wells, 2001, para 12) The IDE maintains of the flow of program execution by handling the scheduler and event queue. (Wells, 2001) As a result, the programmer is opened up to focus on the application specific code to allow it to react to a specific event, but does not need to know how to construct the actual objects. (Wells, 2001) EDP has fast-tracked as the result of the instituting of the Graphical User Interface (GUI) and has been commonly accepted for use in operating systems, as well as, client applications. (Wells,
This section outlines and describes the various elements of the program logic model (see Figure 2). Our logic model is an important evaluative tool as it helps to explain the ideas behind the development of the DCD guidelines and the reasons why DCD programs will lead to positive outcomes in deceased organ donation.
The coding process will change program logic into specific instructions that can be executed by computers. In small programs this work can be done by one or two programmer and in large programs this task may be divided into section that can be handled by different groups. If the program was carefully written this process should be a simple process where the logical functions are translated into program code. Other programs were written to tie our student user population into the Active Directory forest. Our department had also written some code to delete Windows profiles and install software packages. This activity went by pretty fast for us as most of the critical work was already done by Microsoft.
provide a form of abstraction as all the programmer has to do is know how to
Today, the world is changing fast in many ways, and the most rapid change that is seen within our society is technology. It is imperative that businesses stay on top of what is new and how they can better their company’s outlook by presenting their information in the fastest and most reliable ways. With the two major computer programming languages of today, C++ and Java, which is better for businesses to be able to acquire such speed and consistency?
Rumbaugh, J., Blaha, M., Premerlani, W., Eddy, F., and Lorensen, W. (1991), Object-Oriented Modeling and Design, Prentice-Hall: New Jersey.
Many different types of programming languages are used to write programs for computers. The languages are called "codes". Some of the languages include C++, Visual Basic, Java, XML, Perl, HTML, and COBOL. Each of the languages differs from each other, and each is used for specific program jobs. HTML and JAVA are languages used to build web pages for the Internet. Perl and XML can produce codes that block students from getting on certain inappropriate web pages on their school server. One of the most prominent programming languages of the day would have to be C++.
The Ada language is the result of the most extensive and most expensive language design effort ever undertaken. The United States Department of Defense (DoD) was concerned in the 1970¡¦s by the number of different programming languages being used for its projects, some of which were proprietary and/or obsolete. Up until 1974, half of the applications at the DoD were embedded systems. An embedded system is one where the computer hardware is embedded in the device it controls. More than 450 programming languages were used to implement different DoD projects, and none of them were standardized. As a result of this, software was rarely reused. For these reasons, the Army, Navy, and Air Force proposed to develop a high-level language for embedded systems (The Ada Programming Language). In 1975 the Higher Order Language Working Group (HOLWG) was formed with the intent of reducing this number by finding or creating a programming language generally suitable for the department's requirements.
Object-orientated programming is methodology which is organized around objects and not actions. The perspective that this approach takes is that it is easier to compare objects. Object-orientated programming can be used in conjunction with UML, and within Object-orientated programming and there are various different methods. Object-orientated programming can be defined as constructing a model of a real world through combining data and actions.
Programming is a systematic approach in Software Engineering which includes Analysis, Design, implementation and maintenance
This makes it easier to change the code as programmers are encouraged to place code in different classes rather than just one so it is less directly accessible by the computer system. Unlike procedural programming which uses an algorithm, object oriented programming is made simpler to code. Examples of a object oriented language would be C++, Java and Microsoft Visual Basic.
Ritchie, D.M. 2003. The development of the C language. Bell Labs/Lucent Technologies. Retrieved 10/12/04 from http://cm.bell-labs.com/cm/cs/who/dmr/chist.html
Object-oriented programming is a programming model that indicates ideas as "objects" that have data fields (attributes that describe the object) and associated procedures recognized as methods. Objects, which are typically instances of classes, are used to interrelate with one another to design applications and computer programs. Java, C++, Smalltalk, C#, Perl, Python and Ruby are case in point of object-oriented
For the technically impaired, Java is a highly flexible product for developing programs for The Web. It is capable of carryi...
Object Oriented Programming is type of programming in which programmers define not only the data type of a data structure, but also the types of operations that can be applied to the data structure. The data structure becomes an object that includes both data and functions. In addition, programmers can create relationships between one object and another.
Computer programming can as well be defined as a process that leads from an original formulation of a computer problem to execute problems. Computer programming is also referred to as programming. It encompasses other activities such as understanding, analysis and generally solving problems that result in algorithm, verifying the algorithm requirements and coding algorithm in a target program language. The program also involves the implementation of the build system and managing derived artifacts like computer programs machine codes. Most often, the algorithm is represented in human-parseable languages such as Java, Python, Smalltalk among others.