Dependency Injection Made Simple with Java Examples | Clean Code and Best Practices | Geekific

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024

ความคิดเห็น • 52

  • @user-ed5cr8so7f
    @user-ed5cr8so7f ปีที่แล้ว +19

    The most simple and clear explanation I found so far!

  • @jianlu9841
    @jianlu9841 7 หลายเดือนก่อน +7

    I watched many videos on dependency injection and this is the most clear and easy to understand one! Thanks!

  • @ngndnd
    @ngndnd 4 หลายเดือนก่อน +3

    2:01 wow i had no clue these solutions were bad since this is how we were taught in school. Im glad i watched this video

  • @alpugurkonca2575
    @alpugurkonca2575 ปีที่แล้ว +8

    Finally someone showing valid examples. Thanks!

  • @k.t.1594
    @k.t.1594 6 หลายเดือนก่อน +1

    This this the most precise and clear video on abstraction, dependency injection I've ever seen. Simple and concise!

  • @me-wi8vf
    @me-wi8vf 3 หลายเดือนก่อน +1

    Day by day, I am learning (cum refreshing my technical knowledge) more and more from your PHENOMENAL TH-cam teachings even after 20+ years of my experience in Java world.
    Inspired.
    Your teachings with EXCELLENT MATERIALS cum PRESENTATION (both VISUALS and VOICEOVER) gives me the crystal clear understanding and revision of all these concepts in a CRISP cum CRYSTAL CLEAR manner.
    Your work is the seed for a lot of the needy people who are eager to learn these topics.
    Thanks a lot again and hats off to your attitude of sharing your knowledge in the HIGH QUALITY STANDARDS manner.

    • @geekific
      @geekific  3 หลายเดือนก่อน +1

      Thanks a lot for the support and the kind words! Glad to have you part of our community :)

  • @me-wi8vf
    @me-wi8vf 3 หลายเดือนก่อน +1

    Wonderful and no other words I have to explain my thanks and gratitude for tour hard work brother.
    EXCELLENT -
    1) materials,
    2) way of teaching,
    3) Presentation,
    4) Attitude,
    5) Command over concepts,
    6) HARD WORK
    HATS OFF TO YOU MY BROTHER.
    THANKS a lot.
    If possible,
    Request to share more and more quality videos like these on all topics especially like Spring (Core) Framework, Spring Data, Spring Security, Core Java 17 topics and so on...
    My Wish:
    If possible to work with you technically and learn the "TECHNIQUE of LEARNING (that is, understanding new/any topics in a crystal clear manner)" from you. Thanks.

    • @geekific
      @geekific  3 หลายเดือนก่อน +1

      Thanks a lot for the kind words and support

  • @bmiller949
    @bmiller949 หลายเดือนก่อน

    Thank for saying what I have always felt. It is easy to make things complex, it is difficult to make things simple.

  • @npkchrome7328
    @npkchrome7328 11 หลายเดือนก่อน +2

    best explanation ever. thank you

  • @omarzidan53
    @omarzidan53 ปีที่แล้ว +1

    Thank you so much, after seeing how simple this is now I can't un-see it.
    wasted several months trying to get that shit till it just clicked

  • @lowkeyhuman
    @lowkeyhuman 2 ปีที่แล้ว +18

    you explained it extremely well 👏you've left me no choice, now I have to subscribe 😂

    • @geekific
      @geekific  2 ปีที่แล้ว +2

      Thanks for the support! Glad I could help :)

  • @klausleaoteles4530
    @klausleaoteles4530 หลายเดือนก่อน

    goated video, DI was never made so clear

  • @dantefangirl9810
    @dantefangirl9810 ปีที่แล้ว +2

    Amazing explanation. Best I've seen so far

  • @knewtonconsulting3394
    @knewtonconsulting3394 2 ปีที่แล้ว +4

    my 8 years old son, watching this video with me wanted to say this topic is way to complicated 😀😃🙂 but I love the way you explained it

    • @geekific
      @geekific  2 ปีที่แล้ว +2

      Glad you loved it! If at 8 yo he is watching this, can't wait to see where he'll be at in 10 years, way to go!

  • @ryankao1983
    @ryankao1983 2 ปีที่แล้ว +10

    should have watched before I started learning Spring 🤣

    • @geekific
      @geekific  2 ปีที่แล้ว +2

      Well, now you did :P

  • @Cablur
    @Cablur 10 หลายเดือนก่อน +1

    superb video that is absolutely comprehensible! Thank you!

  • @programming5484
    @programming5484 7 หลายเดือนก่อน

    You got new subscriber .Great explanation without waste of time.

  • @voidsine
    @voidsine 7 หลายเดือนก่อน

    I have java exam tomorrow thanks man this cleared my understanding

  • @user-rn2ww4vo7j
    @user-rn2ww4vo7j ปีที่แล้ว +1

    finllay understand this IOC concept thanks alot

  • @HungNguyen-mr5yc
    @HungNguyen-mr5yc ปีที่แล้ว +2

    All I need is this video. I have to subscribe 👏 Amazing man

    • @geekific
      @geekific  ปีที่แล้ว

      Thanks for the support :)

  • @enesb4797
    @enesb4797 6 หลายเดือนก่อน +1

    perfection!

  • @mohammadmahdifarrokhy260
    @mohammadmahdifarrokhy260 ปีที่แล้ว +1

    Tnx, this video really helped me understand dependency injection

  • @kodnzikus
    @kodnzikus 7 หลายเดือนก่อน

    Perfect explanation. Thanks a lot!

  • @pranav2003
    @pranav2003 5 หลายเดือนก่อน

    Very clear sound

  • @Preelu
    @Preelu 5 หลายเดือนก่อน

    A million thanks! Alas i understood dependency injection :)

  • @KailashJNirmal
    @KailashJNirmal ปีที่แล้ว +1

    Being foodie I guess this was easy for me to watch video fully till end as examples showed in this video is so real and relate to food 😅. Loved it. No option but subscribing just now 😊😊

  • @vepeducate
    @vepeducate 6 หลายเดือนก่อน

    you should have mentioned about autowired too. good video btw.

  • @tonnytrumpet734
    @tonnytrumpet734 หลายเดือนก่อน

    Great video, thank you !
    Could you do a video on how to create custom annotations and use them as dependency injections ?

    • @geekific
      @geekific  หลายเดือนก่อน +1

      Check out these videos: th-cam.com/video/Vbc1YHVWFhg/w-d-xo.html & th-cam.com/video/ja4is9oq37k/w-d-xo.html

    • @tonnytrumpet734
      @tonnytrumpet734 หลายเดือนก่อน

      @@geekific Thank you, this helped a lot 🙏

  • @vivekmit
    @vivekmit 7 หลายเดือนก่อน

    Now we are in functional programming paradigm. please share us more info about the Dependency injection in functional programming

  • @spout37
    @spout37 ปีที่แล้ว

    Nicely explained ! Ty man

  • @imretoth8903
    @imretoth8903 ปีที่แล้ว

    Amazing video! Thank you!

  • @UninspiredFilm5
    @UninspiredFilm5 8 หลายเดือนก่อน

    so awesome, thank you

  • @masterreif
    @masterreif ปีที่แล้ว

    Dependency Injection is important on the one side,
    but also frustrating on the other side.
    You can reduce your instances and code that is a good point.
    But in the case of error search it is not so funny.
    You can not search for the uses of the instance.
    So you have to search in the code.
    yes you can use the file search, but if the code is hidden in a library than it is not so easy.
    But that's the business.
    We make all easier with frameworks,
    but if something doesn't work as it should,
    it is hard work.
    You have to understand the framework if you stuck on something.

  • @nehajain6751
    @nehajain6751 ปีที่แล้ว

    simply the best

  • @elvenpath7
    @elvenpath7 ปีที่แล้ว +1

    cool cool cool. now one more about mocking please )

  • @anusflotze6646
    @anusflotze6646 ปีที่แล้ว

    i'm sorry for non english speaking people since this video explains di really good!

  • @hetjayeshbhaipatel1075
    @hetjayeshbhaipatel1075 4 หลายเดือนก่อน

    wowww

  • @sujithameriga7348
    @sujithameriga7348 ปีที่แล้ว

    How can you instantiate an interface?

    • @geekific
      @geekific  ปีที่แล้ว +1

      Where did we do that?

    • @abutohan
      @abutohan ปีที่แล้ว

      Presumably around 1:48.
      Since When Food was instantiated by burger and pizza
      private Food burger;
      private Food pizza;
      I was also confused about this concept before when I started learning OOP, since we know that interfaces can't be instantiated. But since Food was implemented by Burger and Pizza Class, what the declaration there doing is referring to an object that implements the interface by the type of the interface.
      Yeah, took me almost 2 weeks to accept that idea and get used to it. Hahaha

  • @gabyyhshss
    @gabyyhshss 5 หลายเดือนก่อน

    02:04 Why is Bad solutions??

    • @gabyyhshss
      @gabyyhshss 5 หลายเดือนก่อน

      I understand jajja, It is because that class depend directly(hard-dependency)

  • @electronlabs2802
    @electronlabs2802 ปีที่แล้ว

    I think its unfair that u dont mention generic at 1:50

    • @geekific
      @geekific  ปีที่แล้ว +3

      I get what you are saying, but I really wanted the video to fully focus on DI and avoid confusing ppl!