Understanding The Factory Design Pattern

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 42

  • @susantc5288
    @susantc5288 3 года назад +12

    What a joy to have a tutorial from a clear English speaking individual. Great job btw. Too bad you did not continue.

  • @mehmeterdem7581
    @mehmeterdem7581 5 лет назад +4

    Please just do all the patterns,you have the best three videos/explanations on patterns on the web.

  • @nkechinnaji8982
    @nkechinnaji8982 3 месяца назад

    Your explanations are super clear!! Awesome video.

  • @canoelectronico
    @canoelectronico 3 года назад

    The opening just made my heart beat faster, this is why I love being a software engineer! no one else gets excited about this stuff like we do!

  • @AB-os3jy
    @AB-os3jy 3 года назад

    I really appreciate how you write it live while explaining.

  • @ElTebe
    @ElTebe 6 лет назад +2

    Really great video! Thank you!
    Here's a little help to improve:
    1) your pop filter must be placed farther from the mic because now it not works.
    2) adjust your microphone's volume higer, and place farther from you
    3) so do not speak into from too close
    4) Place your cam close beside/top/bottom of your monitor.
    So you can look into the cam and see your code/notes at the same time and easier.
    And it will not harm your neck as your actual microphone setup does.

    • @TheSimpleEngineer
      @TheSimpleEngineer  5 лет назад

      Thanks! Check out my visitor design pattern video! I've improved the audio

  • @drewenia
    @drewenia 4 года назад +1

    Please make all design patterns. You are really really good

    • @drewenia
      @drewenia 4 года назад +1

      Please just do all the patterns,you have the best three videos/explanations on patterns on the web.

  • @osure24
    @osure24 6 лет назад

    Wow so much clicked for me on the video, thanks so much for making it! I'd watched a number of other videos on factories but this one made the most sense to me. I liked how you gave the overview at the beginning and then went into the code. The pace was also good. Keep 'em coming!

  • @hueydo3522
    @hueydo3522 3 года назад

    Please continue the Design Pattern series, I fell in love with the two videos you made. Make Obersver pattern or Momento next.

  • @christophercheok4814
    @christophercheok4814 6 лет назад +9

    Can you make other Design pattern video ? i love how you explain it.

    • @TheSimpleEngineer
      @TheSimpleEngineer  6 лет назад +4

      Sure! I'm working on it.

    • @stephane3115
      @stephane3115 5 лет назад

      @@TheSimpleEngineer any progress on it? Just saw this video. you made it really seem easy. Covering other patterns wwith the same way of explaining is definitley going to bring you a lot of views. (me for sure ;))

    • @TheSimpleEngineer
      @TheSimpleEngineer  5 лет назад +2

      Would you guys be interested in a visitor design pattern vid? I was going to make one today

    • @TheSimpleEngineer
      @TheSimpleEngineer  5 лет назад +3

      Here ya go! ruclips.net/video/TeZqKnC2gvA/видео.html

  • @noahfinberg7364
    @noahfinberg7364 3 года назад

    Great explanation. Very clear and useful!

  • @nguyentung6282
    @nguyentung6282 3 года назад

    Thank you so much. I appreciate your video a lot. Hope you will soon reach to 100k sub ^^

  • @bangalorehub1336
    @bangalorehub1336 5 лет назад +1

    Amazing. Pls do videos on all servers .

  • @temsmirkie4499
    @temsmirkie4499 6 лет назад +1

    hey thanks for the video i would appreciate if you did the abstract factory design pattern it will really help

  • @niekbeijloos8355
    @niekbeijloos8355 3 года назад

    Very clearly explained. Is this the factory method or factory method pattern ? Could you also provide an explanation of the abstract and simple factory ?

  • @rado147
    @rado147 4 года назад

    Very nice code example. It would be perfect if u make another patterns... make please Abstract Factory too with some great example... if the example is good, it is way easier to understand. Thanks.

  • @gipperize28
    @gipperize28 6 лет назад +1

    Outstanding

  • @JoshSaintJacque
    @JoshSaintJacque 6 лет назад

    Really nice, thanks for the breakdown.

  • @arsene9216
    @arsene9216 6 лет назад

    Definitely on point! Thanks for the video

  • @jcc9283
    @jcc9283 6 лет назад +1

    Good stuff

  • @glendamabasa6423
    @glendamabasa6423 4 года назад

    Thanks a lot. This really helped

  • @colin7406
    @colin7406 4 года назад

    I only know LabVIEW, nice to see where the architecture came from.

  • @pg00096
    @pg00096 6 лет назад

    Amazing explanation! Thank you :)

  • @dhananjaypal8498
    @dhananjaypal8498 5 лет назад

    Hello!! As per the definition, the base class(ServerFactory) was only supposed to declare the interface to create objects. The decision of which object to be created should have been deferred to the subclasses/subfactories. Isn't it??

  • @PS-dp8yg
    @PS-dp8yg 5 лет назад +1

    Dumb question...doesn't the ServerFactory violates Open/Closed principle? Every time you create a new server type, you need to modify ServerFactory to support the new server type. Is there anyway around this? Or is this the only scenario that is acceptable to violate Open/Closed principle?

    • @TheSimpleEngineer
      @TheSimpleEngineer  5 лет назад

      There are no stupid questions. This example is contrived and does violate OCP. You may be interested in reading about the abstract factory, which delegates object generation through subclassing (another layer of indirection)

    • @PS-dp8yg
      @PS-dp8yg 5 лет назад

      @@TheSimpleEngineer Thanks for the reply. I'm going to check abstract factory out.

    • @belinhobeli9569
      @belinhobeli9569 4 года назад

      Ive read on this without being an expert...as long as it is in just that one place, its okey. Yes, it still violate, but still much better than violating everywhere.

  • @monishkumardurairaj3038
    @monishkumardurairaj3038 4 года назад

    In every video,I get to know what is factory design but i just want to understand why factory design??Inorder to solve which problem in real world this is used.
    for eg:singleton pattern ..
    this is used when ever there has to be only one object creation has to be done ,In places such as to access the database.
    so like that in factory design addresses which problem?

  • @thumarmitesh6559
    @thumarmitesh6559 3 года назад

    Great

  • @softesthairtutorials
    @softesthairtutorials 6 лет назад

    Subscribed

  • @ramdaniramdani3134
    @ramdaniramdani3134 3 года назад +1

    I think this is a simple factory not factory method pattern

  • @tdias25
    @tdias25 4 года назад

    why GetServer is static?

  • @codeintermediate4529
    @codeintermediate4529 4 года назад

    Factory method design pattern is explained well in this video - ruclips.net/video/tdMOdeewTnc/видео.html

  • @dangerous3004
    @dangerous3004 2 года назад

    It's only a simple factory, not the factory (method) design pattern