views:

39

answers:

2

what's the General difference between structural program and object oriented program?? what OOP offers?? thank you all

A: 

The big advantage OOP has over structured programming is that it's easier to implement encapsulation and polymorphism in OOP languages. It can be done in structured languages (see libjpeg or glib/GTK+ for examples), but it requires far less thought with OOP.

Ignacio Vazquez-Abrams
thanks you very much
osabri
A: 

That would be "structured" rather than "structural".

Unfortunately, the differences between the two are probably a bit much to try to summarize in an answer here. There are quite a few books written to cover this, and they're not necessarily thin little books either. One I'd recommend is Grady Booch's Object Oriented Analysis and Design with Applications. There are quite a few others as well (including, if memory serves, at least one newer one by the same author), varying from really good to absolute trash. If you do some searching, you can find book lists with other peoples recommendations.

Jerry Coffin