HS> I fail to see the big hype about OOP & OOD.
HS>
HS>
HS> Please explain where it can be used and how this will make it better.
HS> I am thouroughly familiar with OOP & OOD so there's no need for a
definitio
HS>
All these OO[x]'s are just one way for Analysis Design Coding and Testting to
be used with objects.
Note: SmallTalk and Java are pure object oriented languages because all
code and data belong to an object. C++ is a hybrid language because
it allows for code to exits as functions - like main().
Anyways, the big deal with OO programming is that it is supposed to come
closer to mimicing real life. It allows for objects to be highly cohesive
and allow for loose coupling when interacting with other objects.
Objects just pass messages back and for to each other. Like in real life,
a Teacher gives assignments to a Student and the Student returns the
assignment.
Teacher Joe("computer science);
Student computer_class[30];
assg = Joe.GiveAssg();
for (int i=0; i<30;i++) computer_class.GetAssg( assg );
Modularity is the single component that allows for software to be
intullectually managable. So, for an object, you don't have to
remeber the "rules" for a procedure. The object is responsible for
knowning the rules and being a self contained entity that can
keep data to itself but allow access to information through intelligent
methods (functions).
Can you tell that I'm in software engineering this semester?
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)
|