> I was thinking single, globally accessible methods, and static > methods are the ones that come to my mind first. Methods of Singleton > objects are also another alternative...
We have already had a discussion about singletons at this list. I have proposed to use them, but I changed my opinion because of the following argument: > I've certainly seen places where singletons have been abused, which > can lead to big problems, since some people treat them as permission > to establish all kinds of essentially global variables. I've found > them to be pretty useful, as long as I only used them where they fit > the problem I was trying to solve. > > Thanks, Ray In the discussed case I do not see why those methods should be available across all levels and objects. Dimitry. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freemind-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemind-developer
