Page 1 of 1

newbie to classes

Posted: Thu Nov 10, 2005 9:31 pm
by jaymoore_299
I've never really had to use classes before, reading through a tutorial, I'm getting the idea that it seems to serve as a container for a bunch of functions that are somehow related (or are used together frequently) is this correct?
So if I had a whole bunch of functions, like 100, and 5 of them I used often to manipulate images, then basically classes can be used to put those 5 apart from the other ones into a class to make for better organization.
What advantages are there to using classes other than for making for better organization of functions?

Posted: Fri Nov 11, 2005 12:28 am
by feyd
ack... before you go any further, read the several existing threads on OOP and such and such...

viewtopic.php?t=40450 is a start...