Page 1 of 1

Wher to and where not to use a class???

Posted: Fri Apr 15, 2005 4:50 am
by icarpenter
Hi All.

Over the last few weeks I have been desperately struggling to understand objects and classes and could do with a little advice on where to and where not to use class functions…how does a class function differ to that of a normal function? is the main difference inheritance? How do you boffins out there structure your code in general are there any unwritten rules in OO programming.

In the real world what would you define as an object worthy of putting in a class? Why use separate classes for different functions? If anyone has any samples of real objects (please not to complex!) that are used in the real world it would for me to try and understand the full benefits of classes and object programming…

Your input would be much appreciated…

Ian.

Posted: Fri Apr 15, 2005 4:55 am
by JayBird
this may be of some help!?!?

viewtopic.php?t=30746

Mark