to all who have posted classes w/ the singleton instance as a
public static; this is not good.
the singleton instance should be stored in a private static variable.
why?  because, otherwise client code can just access the value
directly, and even unset the instance; which sort of defeats the
purpose of singleton.

-nathan

Reply via email to