I have been working this semester translating some useful numerical code from Java to RB... mainly because I thought it would make me more aware of how I work and what I can do to make it better... plus it will wind up giving me another language to do AI work in... that said:

From Java, I am used to thinking about external libraries of code as classes. The idea is neat, straightforward, and I like it. However, since I have been using RB (mainly as a project/gui tool) I have always thought that a module WAS an external class of sorts. Further reading about modules, though, seems to indicate that the real goal of a module is just a central location for a collection of methods and properties and is not instantiable. But wait: that's just a finalized class that inherits from Object, right?

Besides subclassing, is that the real difference. Is a module just a class that doesn't inherit from anything and can't be instantiated or subclasses? When would it be better to use a module than a class, then? Are there performance issues? Anything else to be aware of?

Just throwing it out there. Thanks in advance,

dave
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to