nitter
Eberhard Wolff
@ewolff
8 Jan 2015
IMHO Factory and Singleton can be considered Anti Patterns.
3
1
3
Stefan Tilkov
@stilkov
8 Jan 2015
Replying to
@PlutonicJ
@cybi
@ewolff
Singleton yes, but Factory? :)
Jan 8, 2015 · 6:24 PM UTC
1
Eberhard Wolff
@ewolff
8 Jan 2015
Replying to
@stilkov
@stilkov
@cybi Everyone know the Factory and the Factory know all products -> dependency nightmare. Replaced by Dependency Injection.
2
1
Stefan Tilkov
@stilkov
8 Jan 2015
@ewolff
@cybi I don’t agree. A Factory can be part of a well-structured OO program that doesn’t use a DI framework.
1
3
more replies