Re: Confusion about References

Markus Winter <drmarkuswinter-gM/[email protected]> Tue, 19 Sep 2017 22:43:51 +0200
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>

> On 19. Sep 2017, at 21:57, Jim Wagner <[email protected]> wrote:
> 
> Actually, I am going to have a ClassMaster class that holds the various instances of MyClass as properties and THAT ClassMaster will have a bunch of methods to operate on those property classes. This is just the first step toward that end.

Again, not a good idea. You are just moving your external methods to another place.

Rather have the methods IN the class as Jon suggested and call it there. Good OOP means things should be self-contained, so any operation on a class should be done by a method in the class (like Clear, Init, etc). 

MfG

Markus




To unsubscribe, email [email protected]