On Jun 29, 2005, at 6:23 PM, Norman Palardy wrote:
Right.
So document that plugin authors should NOT start identifiers with and
underscore because REAL has reserved this naming convention.
Then, if someone uses it, and suddenly their plugin breaks, you can
say "We told you not to" and be done with it.
Other wise you leave yourself open to the "But you never told us not
to do this therefore support it til hell freezes over" argument.
But what if you need a singleton class? If one can hide this class then
ordinary users don't know about this class and the plugin developer can
use this class internally, to allow for proper setup of a plugin as
well as proper destruction of a plugin, since RB will take care of
calling the destructor in the latter case. This would be a good example
of utilizing an existing mechanism. Perhaps RS can provide an
alternative for the underscore?
Alfred
_______________________________________________
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>
|