Classes allow you to have Private and Protected variables as well as the
ability to use inheritance. Modules don't really.
I only use modules for what I like to call utility functions.. functions
that are totally object independent that do useful routines and don't really
handle important information..
If you are modelling objects then use classes in my opinion...that's what
they are there for ;)
All the best,
Jon
"Chris Ashley" <ch**********@blueyonder.co.uk> wrote in message
news:bl************@ID-96489.news.uni-berlin.de...
Is there any disadvantage to using a class with shared methods as
opposed to a module? I suppose the end result is the same, but I'm
curious about any other issues.
Regards,
Chris