Prototype-based Singleton
In a prototype-based programming language, where objects but not classes are used, a "singleton" simply refers to an object without copies or that is not used as the prototype for any other object. Example in Io:
Foo := Object clone Foo clone := FooRead more about this topic: Singleton Pattern
Famous quotes containing the word singleton:
“When the sword of rebellion is drawn, the sheath should be thrown away.”
—quoted in letter, Aug. 6, 1775, by painter John Singleton Copley on the subject of the American Revolution. British proverb.
Related Phrases
Related Words