[cap-talk] Singleton discussion (was: Re: object-oriented-security.org)
kenton at google.com
Tue Mar 9 15:53:32 PST 2010
On Tue, Mar 9, 2010 at 9:48 AM, Jed Donnelley <capability at webstart.com>wrote:
> For anybody else who might not have been following the "singleton"
> discussion, these references were useful for me:
> I assume that's what the discussion is about?
Yes. The wikipedia link even mentions some of the (non-security-related)
reasons why singletons are now considered harmful.
Note that only mutable singletons are a problem. No one minds constant
> Is there anywhere I can find a review of how different programming
> languages "deal" with this singleton pattern?
What do you mean?
> From the wikipedia reference above it appears that there are many languages
> where the singleton pattern can be programmed. Perhaps it would be
> worthwhile to note (e.g. on the above Wikipedia page) which capability
> oriented languages "ban" them, how, and the consequences?
Yes, I think discussing the security problems of singletons, and mentioning
languages that ban them, on the Wikipedia page would be great.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cap-talk