Why is OO popular?

I

Ian Roberts

Hi, I was wondering if anyone could tell me why object oriented
approaches to programming are becoming very popular.

Thanks
 
C

Christopher Benson-Manica

Ian Roberts said:
Hi, I was wondering if anyone could tell me why object oriented
approaches to programming are becoming very popular.

This isn't a C++ question, although people will probably deign to
answer it anyway. If you don't get the answers you want here, try
comp.object or maybe comp.software-eng. HTH.
 
F

Fazi

Hi, I was wondering if anyone could tell me why object oriented
approaches to programming are becoming very popular.

Maybe because OO gives us better and more comfortable control of our
(especially big) programs/projects....
 
P

Phlip

Hi, I was wondering if anyone could tell me why object oriented
Well, we *think* it does, anyway. ;-)

Distinguish an OO language from an OO program.

The former comes with the latest gadgets & editors, because OO is popular,
so they are popular.

But the latter makes adding new features easier. So a program may grow large
without growing unweildy.

As one grows a program, if one refactors to merge duplication of behavior,
the design has less chance of getting unnecessarily complex. In a structural
program, one can merge common low-level behavior into functions. But in an
OO program, one also merges the high-level, calling code into common
abstractions. Virtual functions now permit the same high-level function to
call any of a set of lower-level functions.

To add a feature one can often add new lower-level functions, but leave
their calling functions the same. Structural programs can't do that.

Read /Design Patterns/ to learn the common targets of refactoring.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top