The Factory Method Pattern

preview_player
Показать описание
The Factory Method Pattern is a design pattern commonly used in object oriented languages such as Java or C#. The pattern helps keep your code clean and separated by hiding away, or "abstracting", constructor logic for your objects.

00:00 Introduction
00:30 A Factory as a Closed Box
01:46 Example With An Interface
02:28 A Factory Method
03:12 Conclusion
Рекомендации по теме