oo definition

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

oo definition

Prof David West

Rather than attempt a definition, per se, consider when and where you
can observe differences between OO and say procedural programming.
   At the level of post compilation / interpretation instructions -
   none, can't be.
   At the level of a single statement or expression - very minimal,
   syntax and idiom.
   At the level of a collection of statements (program) - far fewer
   lines of code (order of magnitude or more), no explicit loop
   constructs,
        zero case statements, no nested-IF statements, very few IF
        statements at all, no type declarations, etc.
   At the level of modularization - very different distribution of code
   across a set of objects than across a set of modules, no
        "centralized control" (master control module, main routine,
        etc.).
   At the level of conceptualization - major differences in how objects
   are identified and specified.  Complete absence of "data" -
       Everything is an object!

davew