What is the Observer Pattern? (Software Design Patterns)

Поділитися
Вставка
  • Опубліковано 4 лис 2020
  • In this video, learn why the Observer Pattern is such an important design pattern. I tell you what the observer pattern is, how it works, and explain it with an example.
    Become a Better Developer Using the Courses I Recommend Below:
    - Master FAANG Coding Interviews - bit.ly/3CVgRN9
    - Learn AWS From Scratch - bit.ly/3gasoAm
    - Master Python here - bit.ly/3yJFJpI
    Head First Design Patterns - amzn.to/36r8aJT
    📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
    Clean Code - amzn.to/37T7xdP
    Clean Architecture - amzn.to/3sCEGCe
    Head First Design Patterns - amzn.to/37WXAMy
    Domain Driver Design - amzn.to/3aWSW2W
    Code Complete - amzn.to/3ksQDrB
    The Pragmatic Programmer - amzn.to/3uH4kaQ
    Algorithms - amzn.to/3syvyP5
    Working Effectively with Legacy Code - amzn.to/3kvMza7
    Refactoring - amzn.to/3r6FQ8U
    🎙 MY RECORDING EQUIPMENT 🎙
    Shure SM58 Microphone - amzn.to/3r5Hrf9
    Behringer UM2 Audio Interface - amzn.to/2MuEllM
    XLR Cable - amzn.to/3uGyZFx
    Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6
    Desk Microphone Mount - amzn.to/3qXMVIO
    Logitech C920s Webcam - amzn.to/303zGu9
    Fujilm XS10 Camera - amzn.to/3uGa30E
    Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe
    Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p
    💻 MY DESKTOP EQUIPMENT 💻
    Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6
    Autonomous ErgoChair 2 - bit.ly/2YzomEm
    Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm
    MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ
    Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF
    Veikk A15 Drawing Tablet - amzn.to/3uBRWsN
    Code: github.com/beabetterdevv/Desi...
    🌎 Find me here:
    Twitter - / beabetterdevv
    Instagram - / beabetterdevv
    Patreon - Donations help fund additional content - / beabetterdev
    #DesignPatterns
    #ObserverPattern
    #SoftwareDesign
    #SoftwareEngineer

КОМЕНТАРІ • 32

  • @BeABetterDev
    @BeABetterDev  3 роки тому +8

    humidityHistory.add(temp); ... Woops!

  • @undencem
    @undencem 3 роки тому +3

    Best working Observer Pattern example and up-to-date . Thanks

  • @UpTown430
    @UpTown430 3 роки тому +11

    Perfect explanation. Everything is so clear, thank you 👌

  • @vihangafernando6644
    @vihangafernando6644 Рік тому

    To be honest, your video helped me to understand RXJS. As they have been using observer pattern.Thanks.

  • @kAreezArsalan
    @kAreezArsalan Рік тому

    That was truly amazing, such a wonderful explanation with code... loved it.

  • @haciendadad
    @haciendadad 3 роки тому +3

    You did a really good job explaining this in a clear and easy metaphor that can easily be pictured. Seeing something in your mind makes it easy to remember! Also, I have a copy of that book, it is the ABSOLUTE best for learning, everyone is an image I can easily picture and this remember.

    • @BeABetterDev
      @BeABetterDev  3 роки тому +2

      Thanks so much Joey, your comment means a lot to me! I completely agree with you that the visual approach is such a powerful way to learn. Its part of the reason I started making these videos. Being a visual learner myself, I couldn't always find videos on many topics. I hope that my videos can help others that are in a similar situation!
      Thanks again for your support and stay safe.

  • @TonInter
    @TonInter 2 роки тому +2

    Watched a few of the software design pattern videos, and they're all great. Thank you very much for sharing.

  • @juandavidlopezlopez8079
    @juandavidlopezlopez8079 2 роки тому +1

    The explanatory ability of this video is amazing. Thank you!

    • @BeABetterDev
      @BeABetterDev  2 роки тому

      Thanks so much for your kind words Juan, and I'm glad you enjoyed!

  • @Hyp3rX360
    @Hyp3rX360 5 місяців тому

    excellent series I've found, I have the book but you explain it very good. Thanks for your work!

  • @eamonsuen
    @eamonsuen Рік тому +1

    great video! Just going to note that we probably want to use this.humidityHistory.add(humidity) instead of this.humidityHistory.add(temp) in the ForecastDisplay class so it doesn't show the same list :D

  • @giocruzx
    @giocruzx 11 місяців тому +1

    Congratulations on the video! Your way of teaching is very good!

  • @ma3435
    @ma3435 2 роки тому +2

    Its frustrating how university professors are just scrolling down and reading a pdf file on zoom without showing examples and explaining this way . they believe they are doing a good job but they are just useless they are getting paid for nothing ... Thank you very much for the explanation =)

  • @AP-eh6gr
    @AP-eh6gr 2 місяці тому

    This is very solid. Btw do one on SOLID now that I mentioned it ; )

  • @diogosilva3919
    @diogosilva3919 3 роки тому +2

    Thank you Daniel 👍

  • @l.r.h.i.bandara4262
    @l.r.h.i.bandara4262 16 днів тому

    Thank youu❤

  • @mohammeds6314
    @mohammeds6314 2 роки тому

    you are awesome, thanks a lot

  • @andriys5772
    @andriys5772 3 роки тому +1

    Thank you!

  • @taqikhan5418
    @taqikhan5418 2 роки тому +1

    Nice explanation. Thanks a lot😊

  • @ufukcagataydogan3985
    @ufukcagataydogan3985 3 роки тому

    Harikasın bro

  • @ermenidolu726
    @ermenidolu726 3 роки тому +1

    Strong army, wow!

  • @koolkravi
    @koolkravi 3 роки тому +1

    You can add adaptor design pattern in list

  • @priyankarrajgupta4198
    @priyankarrajgupta4198 2 роки тому

    I think u need to save ref. of subject in observer, otherwise how u will unregister ?
    unregister functionality u didn't shown though !

  • @HadiEbrahimi-yq9yj
    @HadiEbrahimi-yq9yj Місяць тому

    could you provide this book for free?