The necessity of performing complex tasks by computer software has become imperative in today's rapidly changing and competitive environment. The software industry and the software professionals are looking for new methods and fresh approaches which will cater to the complexity of software systems. There are inherent limitations in earlier generation of computer languages due to which they are unable to address the present demands. They are also prone to errors which may prove costly in terms of reprogramming and correction of obsolete code.
During the history of programming, many different methods have been used. Procedural programming relied on completing a list of instructions according to an algorithm. The emphasis is on processing. The issue of data is secondary. In modular programming, large programs are broken into smaller parts. This makes handling of the overall development and later maintenance easier. The problem with the above methods is that components of the program do not reflect the real world. Also data cannot be changed without altering the program modules themselves.
The latest programming approach, Object oriented programming (OOP), offers a new and powerful way to tackle the present complexities. This approach makes the task of programming easier, more reliable , reusable and robust. It also leads to better management during software development and ease of maintenance during its entire lifecycle. The program mirrors the real world efficiently as well as provides of data manipulation without change in program code.
The features which separate object oriented programming from other languages is modularity, inheritance, data abstraction, polymorphism and encapsulation. When we look at the present day development environment, it becomes obvious that an advanced programming language is required to handle large projects. Older languages fail to work in a collaborative setup and may lead to reduced maintainability and up gradation. Typically many hundreds of programmers work on a single project. The whole program is divided into smaller chunks or modules and a programmer is assigned to each of these tasks. A system specialist coordinates the complete project.
An important feature of object oriented programming is the separation of data from the executing program. Earlier programming languages had no boundary between the data and the program. This meant that any change in data structure had to be accompanied by a change in program. By separating the two, an OOP, does away with this restriction.
An object oriented program is modular and each module can be developed by a programmer. All these modules put together make one whole. There are many advantages of modularity . It becomes easier to maintain as any error in programming can be isolated within a specific module. One need not search through the entire program to isolate the errors. Data is handled separately and therefore cannot be compromised. Each part of the program is treated as an object. Reusability can be achieved with object oriented programming. Modern languages are all built with object oriented framework. In fact it is a breakthrough concept in computer programming.
Copyright (c) 2007 Dean Barnard
Why Object Oriented Programming
OOP is a programming technique designed to simplify convoluted programming concepts. In fundamental nature, object-oriented programming revolves around the idea of user- and system-defined chunks of data, and controlled means of accessing and modifying those chunks. Object-oriented programming consists of Objects, Methods and Properties. An object is basically a black box which stores some information. Object may have a way for you to read that information and a way for you to write to, or change in sequence. It may also have other less noticeable ways of interacting with the information.
Some of the information in the object may essentially be directly easily reached; other information may necessitate you to use a method to access it - conceivably because the way the information is stored internally is of no use to you, or because only certain things can be written into that information space and the object needs to check that you're not going outside those limits. The directly reachable bits of information in the object are its properties. The difference between data accessed via properties and data accessed via methods is that with properties, you see accurately what you're doing to the object; with methods, unless you created the object yourself, you just see the effects of what you're doing.
Other JavaScripts pages you read will almost certainly pass on frequently to objects, events, methods, and properties. This tutorial will learn by example, without focusing too profoundly on OOP terminology. However, you will need a basic fundamental of these terms to use other JavaScript references. Your web page document is an object. Any web page may involve table, form, button, image, or link on your page is also an object. Each object has confident properties. For example, the background color of your document is written document.bgcolor. You would change the color of your page to red by scripts code writing the line document.bgcolor="red"
Most objects have a certain collection of things that they can do. Different objects can do different things, just as a light can turn on and off. A new document is opened with the method document. Open () you can write "Introduction of Java" to a document by typing document. Write ("Introduction of Java "). Open () and write () are both methods of the object: document.
Both Dean Barnard & Karl Garcia are contributors for EditorialToday. The above articles have been edited for relevancy and timeliness. All write-ups, reviews, tips and guides published by EditorialToday.com and its partners or affiliates are for informational purposes only. They should not be used for any legal or any other type of advice. We do not endorse any author, contributor, writer or article posted by our team.
Dean Barnard has sinced written about articles on various topics from Computers and The Internet, Marketing and The Beach Resort. Join me at and I will be in touch soon friend.. Dean Barnard's top article generates over 74000 views. to your Favourites.
Karl Garcia has sinced written about articles on various topics from Software, Legal Matters and Software. This is write Karl Garcia will be dealing with as they were defined for the purpose of tabulate the 1990 survey. Karl Garcia's top article generates over 90500 views. to your Favourites.
Delaplaine Visual Arts Center Gallery hours are 11AM to 6PM from Monday through Saturday. The centers information line is 937-224.3822 if you would like to call and get current hours and find out about special events.