The Abstract Factory Design Pattern In Java

  Рет қаралды 1,190

Will Tollefson

Will Tollefson

Күн бұрын

Пікірлер: 5
@DenaTollefson
@DenaTollefson 7 ай бұрын
Wonderful tutorial, Will! I like how you are building this lesson on the foundation you created with the candy factory store example from your original factory pattern video. Awesome real examples! 😀
@willtollefson
@willtollefson 7 ай бұрын
Thanks! Glad you liked the example :)
@malloryranae8069
@malloryranae8069 7 ай бұрын
Great design pattern video! I might have to go find some Starburst candy now…
@redcrafterlppa303
@redcrafterlppa303 7 ай бұрын
But what is more abstract about that factory? It's just a factory that creates multiple related objects.
@willtollefson
@willtollefson 7 ай бұрын
Great question - I'm personally not a huge fan of the naming scheme for the various factory patterns. Its confusing since both the regular factory and the abstract factory can use either abstract classes or interfaces to abstract away concrete implementations in client code. The main thing to remember is that abstract factory takes the regular factory a step further by "providing an interface for creating families of related or dependent objects without specifying their concrete classes". That's an almost direct quote from the Gang of Four design patterns book. Hope this helps!
Structured Concurrency in Java 21
14:52
Will Tollefson
Рет қаралды 1,6 М.
The Factory Design Pattern In Java
10:49
Will Tollefson
Рет қаралды 1,9 М.
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 22 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 5 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 32 МЛН
Factory Method Pattern - Design Patterns (ep 4)
27:21
Christopher Okhravi
Рет қаралды 547 М.
Java Network Sockets + Virtual Threads = Cool!
26:54
Will Tollefson
Рет қаралды 1,1 М.
The Factory Design Pattern is Obsolete in Python
23:18
ArjanCodes
Рет қаралды 101 М.
Abstract Factory Design Pattern
13:20
Derek Banas
Рет қаралды 498 М.
Abstract Factory Pattern - Design Patterns (ep 5)
25:54
Christopher Okhravi
Рет қаралды 313 М.
Prototype Design Pattern in detail | Interview Question
12:23
Daily Code Buffer
Рет қаралды 10 М.
Virtual Threads in Java 21
17:22
Will Tollefson
Рет қаралды 4,7 М.
Kotlin Classes and Constructors - Primary vs Secondary
13:51
Will Tollefson
Рет қаралды 367
The Bridge Design Pattern (C#)
8:31
Raw Coding
Рет қаралды 11 М.