Dependency Injection in a Nutshell

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • Follow for more Kotlin & Android tips! 💻
    #kotlin #kotlintips #androiddeveloper #android #androiddev #androidcoding #androiddevs #mobiledev #mobiledeveloper #mobiledevelopment #softwareengineering #softwareengineer

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

  • @noob_gaming903
    @noob_gaming903 7 месяцев назад +124

    Bro that sound effect 😂😂😂

  • @jishnugoyal4397
    @jishnugoyal4397 7 месяцев назад

    that's why he asked to turn on sound 😂

  • @SapphireTvYt
    @SapphireTvYt 7 месяцев назад

    Dude, can you tell me how did you made these cool code presentation. I could use it in my lectures

  • @achmadsyarif5129
    @achmadsyarif5129 7 месяцев назад

    💀💀

  • @liltofer
    @liltofer 7 месяцев назад +62

    I didn't know that was the sound produced by a dependency injection. I'm going clean architecture RIGHT NOW 😂

    • @PhilippLackner
      @PhilippLackner  7 месяцев назад +16

      Gotta start building that inner most layer

  • @purnakumbhar3951
    @purnakumbhar3951 7 месяцев назад +31

    The sound effect 💀

  • @abrarwiryawan
    @abrarwiryawan 7 месяцев назад +14

    imagine using this video as material reference in formal class/meeting then that sound effect kicks in

  • @justmeagain9302
    @justmeagain9302 7 месяцев назад +8

    What in the actual f was that sound😂

  • @Kalex_sr
    @Kalex_sr 7 месяцев назад +10

    That bell sound effect in the family meeting ☠️

  • @ll18307
    @ll18307 Месяц назад

    I'm worried whenever I think of implementing DI , I'll here that DI sound 😂💉

  • @知らない人-g1t
    @知らない人-g1t 7 месяцев назад +2

    Bruh when the injection part there's weird voice 😂

  • @tomaszcichociemny3758
    @tomaszcichociemny3758 2 месяца назад

    too much sounds and animation, they distract. Nice try though

  • @loek8638
    @loek8638 7 месяцев назад +2

    As a grown man, that's the sound i make every time i take an injection at the hospital

  • @ZeroBodyProductions
    @ZeroBodyProductions Месяц назад

    Interface Inheritance!!!!!!!

  • @Atmatan
    @Atmatan 4 месяца назад

    It also makes them more exploitable 😏

  • @vladalexeev8529
    @vladalexeev8529 7 месяцев назад +1

    That DI doesn't allow you to navigate via Ctrl+Click through your code, finding where the problem is easily. It generate lots of java classes which are garbage when you search for something and you have to call "clean" for a project each time. DI is great for reuse, like retrofit/ktor provider. but for something you'll use 1 time? It's just an extra boilerplate code.

    • @PhilippLackner
      @PhilippLackner  7 месяцев назад +3

      DI is not Dagger. DI itself has nothing to do with boilerplate code, it's just about passing an object in a constructor instead of instantiating it in the class itself. Dagger is a tool to do that on a larger scale

    • @vladalexeev8529
      @vladalexeev8529 7 месяцев назад

      @@PhilippLackner yeah, we use hilt or coin prior to it. Dagger was even worse, even more boilerplate, bulky and uncomfortable to work with. Thankfully, hilt made Android dependency injection a bit easier and less to write.

    • @vibovitold
      @vibovitold 7 месяцев назад +1

      this sort of inconvenience is kind of constant though, whereas having to manage the dependencies manually is an inconvenience that will rapidly increase alongside the size and complexity of the project. that's why the overwhelming majority of serious projects settle for a DI framework. i agree that Dagger can be an overkill, i currently work on a codebase that relies on Koin and it's generally easier, despite Koin being a "glorified service locator" and not "true" DI.

  • @imrahulmaurya
    @imrahulmaurya 7 месяцев назад +1

    Do you have any full course on Dependency injection???

  • @A_Lousy_Viewer
    @A_Lousy_Viewer 6 месяцев назад +1

    He is a real man of culture by using that sound fx

  • @Rustam-b7q
    @Rustam-b7q 7 месяцев назад +2

    Restricted: GoogleAnalyticsLogger
    Flexible: AnalyticsLogger

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

    Font?

  • @ZiranVizard
    @ZiranVizard 7 месяцев назад +1

    Such a great video! Please do more 😊

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

    DI was quite a hard topic for me to wrap my head around, but I’m starting to properly understand it and see its benefits

  • @MuhammadHuzaifa.2468
    @MuhammadHuzaifa.2468 3 месяца назад

    Bruh, i was on full volume with my family in the living room 😶
    *the sound effect 😂

  • @oreosnarfer
    @oreosnarfer 7 месяцев назад

    Excellent video! I'd love to see more shorts like this!

  • @akmalrafi8576
    @akmalrafi8576 6 месяцев назад

    not the sound effect ☠️😂

  • @DevsSebas
    @DevsSebas 7 месяцев назад

    Sound effect nice!! 😂😂😂😂😂

  • @AmitKumar-pw1ln
    @AmitKumar-pw1ln 7 месяцев назад

    😂that sound

  • @makkhan3153
    @makkhan3153 7 месяцев назад

    Wth

  • @fsfaysalcse
    @fsfaysalcse 7 месяцев назад

    Ahhhhhhh 😅

  • @amalmanoj5074
    @amalmanoj5074 7 месяцев назад

    😂

  • @ikrombek_olloberdiyev
    @ikrombek_olloberdiyev 7 месяцев назад

    🎉

  • @yuuzuX
    @yuuzuX 7 месяцев назад

  • @alexandrprodan8794
    @alexandrprodan8794 7 месяцев назад +1

    Understood nothing

  • @theknight6678
    @theknight6678 7 месяцев назад

    Philipp, Can you help me? I need advice here.