PDA

View Full Version : Knowing when to use classes


sralok
03-04-2005, 08:56 PM
I have done some intermediate xml data stuff with flash. I used http calls to load data and functions to populate the info in different areas.

I am wondering if I should be learning classes to do this information passing and sorting?

Xeef
03-04-2005, 09:09 PM
you shoud learn how to use classes regardles of the mentioned situation above
(as long you program and not design)

whit classes you can structure your code much better

classes can mean more work if there is just a bit to do (like a=a+1 to write a class for this is a bit ower do)
but whit a lot of things it become fast handy and ceaps portions separated from each other (one class for input one for output) it's also more or less the only practicable way to let more then one person work on a big project