The Factory Design Pattern In Java

preview_player
Показать описание
There are multiple variants of the FACTORY DESIGN PATTERN IN JAVA. In this video, we'll go through the two most common adaptations, the SIMPLE FACTORY PATTERN and the (regular) FACTORY METHOD PATTERN. If the regular FACTORY PATTERN doesn't quite scratch your itch, I'd recommend you look at the ABSTRACT FACTORY PATTERN

I'm Will Tollefson, a guy who loves to NEVER STOP LEARNING and teach others what I've learned. If you're enjoying the content, please LIKE, SUBSCRIBE, and SHARE!

VIDEO CHAPTERS:
0:00 Introduction
0:28 Code Before Implementing a Factory
1:59 Why The Factory Pattern?
3:19 Simple Factory
5:35 Factory Design Pattern
8:49 Which Pattern To Use
Рекомендации по теме
Комментарии
Автор

Which adaptation of the factory pattern do you use most frequently? Do you want me to make a video of the abstract factory design pattern?

willtollefson
Автор

Great explanation and excellent tutorial for the factory method design pattern and how factory patterns/classes work, and avoiding over design, Will!

DenaTollefson
Автор

Great video, explanation and easy to understand, keep up the good work 👍

jorgemt
Автор

Thanks for reminding us that there is a such thing as over-designing things and making them more difficult to manage and read. But the decoupling concept is quite well explained and important.

zeppelinmexicano