On Mon, May 14, 2012 at 3:43 PM, Sean P. DeNigris <sean@clipperadams.com>wrote:
Mariano Martinez Peck wrote
Indeed. For me it depends in the case.
Fair enough, but let's have a protocol. For example, UIManager default... From Mac dictionary: default: "a preselected option... when no alternative is specified by the user" Is that really what we mean? I don't think so. It should be current.
SystemAnnouncer is a very special class. It gets two identically implemented methods, #announcer and #current ;-)
So how about: uniqueInstance -> There can be only one (http://www.youtube.com/watch?v=4AoOa-Fz2kw) current -> There are many like it, but this one is mine (couldn't find the clip from Full Metal Jacket) default -> Use this if you don't have any better ideas
+1
-- View this message in context: http://forum.world.st/Singleton-access-selector-tp4630062p4630137.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.