Prototype vs Singleton - What's the difference?
prototype | singleton |
An original object or form which is a basis for other objects, forms, or for its models and generalizations
An early sample or model built to test a concept or process
(semantics) An instance of a category or a concept that combines its most representative attributes.
(computing) A declaration of a function that specifies the name, return type, and parameters but none of the body, or actual code.
To create a prototype of.
(playing cards) A playing card that is the only one of its suit in a hand, especially at bridge.
A single object, especially one of a group.
(computing) A class that may not be instantiated more than once, i.e. that implements the singleton design pattern.
(mathematics) A set with exactly one element.
A child or animal that is born singly, not as a twin or other multiple birth.
(neologism) A person without a romantic partner.
As nouns the difference between prototype and singleton
is that prototype is an original object or form which is a basis for other objects, forms, or for its models and generalizations while singleton is singleton.As a verb prototype
is to create a prototype of.prototype
English
(wikipedia prototype)Noun
(en noun)- The prototype had loose wires and rough edges, but it worked.
- A robin is a prototype of a bird; a penguin is not.