The Abstract Factory Design Pattern In Java

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

Will Tollefson

Will Tollefson

Күн бұрын

Пікірлер: 5
@malloryranae8069
@malloryranae8069 8 ай бұрын
Great design pattern video! I might have to go find some Starburst candy now…
@DenaTollefson
@DenaTollefson 8 ай бұрын
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 8 ай бұрын
Thanks! Glad you liked the example :)
@redcrafterlppa303
@redcrafterlppa303 8 ай бұрын
But what is more abstract about that factory? It's just a factory that creates multiple related objects.
@willtollefson
@willtollefson 8 ай бұрын
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,8 М.
Socket Programming with Java NIO - Channels, Selectors, and Buffers
38:00
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 135 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,6 МЛН
The Factory Design Pattern In Java
10:49
Will Tollefson
Рет қаралды 2,4 М.
Abstract Factory Design Pattern
13:20
Derek Banas
Рет қаралды 499 М.
Virtual Threads in Java 21
17:22
Will Tollefson
Рет қаралды 5 М.
Factory Method Pattern - Design Patterns (ep 4)
27:21
Christopher Okhravi
Рет қаралды 552 М.
The Singleton Design Pattern In Java
15:21
Will Tollefson
Рет қаралды 829
The Factory Design Pattern is Obsolete in Python
23:18
ArjanCodes
Рет қаралды 102 М.
Abstract Factory Pattern Explained For Beginners
24:26
Kantan Coding
Рет қаралды 3,5 М.