Skip to content

Commit 205b87c

Browse files
committed
Improve Prototype description
1 parent 6894862 commit 205b87c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

prototype/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ tags:
1010
---
1111

1212
## Intent
13-
Specify the kinds of objects to create using a prototypical
14-
instance, and create new objects by copying this prototype.
13+
Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
1514

1615
## Explanation
16+
17+
First it should be noted that Prototype pattern is not used to gain performance benefits. It's only used for creating
18+
new objects from prototype instance.
19+
1720
Real world example
1821

1922
> Remember Dolly? The sheep that was cloned! Lets not get into the details but the key point here is that it is all about cloning.

0 commit comments

Comments
 (0)