Skip to content

Commit a44c3c8

Browse files
[pl translation] Creational/SimpleFactory sorce fix.
1 parent e231157 commit a44c3c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Creational/SimpleFactory/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Purpose
77
SimpleFactory is a simple factory pattern.
88

99
It differs from the static factory because it is not static.
10+
1011
Therefore, you can have multiple factories, differently parametrized, you can subclass it and you can mock it.
12+
1113
It always should be preferred over a static factory!
1214

1315
UML Diagram

0 commit comments

Comments
 (0)