Raymond Lewallen

Sponsors

The Lounge

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Advantages of an Object-Oriented Approach (for new programmers)
If you are new to OOP or to programming in general, I'll give you a very simplified and quick assessment of approaching a new software design with object-oriented eyes.

Like structured programming in legacy systems, object-oriented programming (OOP) is used to manage the complexity of software systems. However, OOP technology provides several advantages. OOP applications are easier to maintain, have more reusable components, and are more scalable, to name a few.

Maintainable
OOP methods make code more maintainable. Identifying the source of errors becomes easier because objects are self-contained (encapsulation). The principles of good OOP design contribute to an application's maintainability.

Reusable
Because objects contain both data and functions that act on data, objects can be thought of as self-contained "boxes" (encapsulation). This feature makes it easy to reuse code in new systems. Messages provide a predefined interface to an object's data and functionality. If you know this interface, you can make use on an object in any context you want. OOP languages, such as C# and VB.Net, make it easy to expand on the functionality of these "boxes" (polymorphism and inheritance), even if you don't know much about their implementation (again, encapsulation).

Scalable OO applications are more scalable then their structured programming roots. As an object's interface provides a roadmap for reusing the object in new software, it also provides you with all the information you need to replace the object without affecting other code. This makes it easy to replace old and aging code with faster algorithms and newer technology.

Some Disadvantages
The challenges of OOP exists mainly in the conversion of legacy systems that are built in structured programming languages. The technical challenge is not as big as the actual design challenge. The goal when converting is to minimize the effects of the stuctural systems on the OO nature of the new design, and this can sometimes be difficult.

Currently listening to: Superspy - Save Ferris

Posted 02-08-2005 5:14 AM by Raymond Lewallen

[Advertisement]

Comments

Darrell wrote re: Advantages of an Object-Oriented Approach (for new programmers)
on 02-09-2005 9:45 AM
I'd say another disadvantage is the *initial* complexity (although in the long run there is less). And it can definitely be intimidating to those new to OO.
TrackBack wrote How do you like CodeBetter.com so far?
on 02-14-2005 5:58 PM
notes wrote Mr.
on 07-18-2005 6:39 AM
Dear sirs/madams,

Wish you good health and happiness for all of you.

I am Tamrat,31, IT instructor at a local college here in Addis Ababa Ethiopia.

I kindly request you to send me notes on advantages and disadvantages of Object oriented analysis and design.

Thanks.
King wrote re: Advantages of an Object-Oriented Approach (for new programmers)
on 11-25-2008 9:11 AM

Dear sirs/madams,

Wish you good health and happiness for all of you.

I am Singh is King an IT instructor at a local college here in College for twats.

I kindly request you to send me notes on advantages and disadvantages of Object oriented analysis and design.

Thanks.

mustapha makama wrote re: Advantages of an Object-Oriented Approach (for new programmers)
on 02-24-2009 1:52 PM

Dear sir,

wish u good health and happiness for you

i kindly request you to send me notes on advantages of using object-oriented methodologies in developing systems.

thanks

Add a Comment

(required)  
(optional)
(required)  
Remember Me?