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
Bro that sound effect 😂😂😂
lmfao 😅
that's why he asked to turn on sound 😂
Dude, can you tell me how did you made these cool code presentation. I could use it in my lectures
💀💀
I didn't know that was the sound produced by a dependency injection. I'm going clean architecture RIGHT NOW 😂
Gotta start building that inner most layer
The sound effect 💀
imagine using this video as material reference in formal class/meeting then that sound effect kicks in
What in the actual f was that sound😂
That bell sound effect in the family meeting ☠️
😂😂
Same
I'm worried whenever I think of implementing DI , I'll here that DI sound 😂💉
Bruh when the injection part there's weird voice 😂
too much sounds and animation, they distract. Nice try though
As a grown man, that's the sound i make every time i take an injection at the hospital
Interface Inheritance!!!!!!!
It also makes them more exploitable 😏
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.
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
@@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.
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.
Do you have any full course on Dependency injection???
He is a real man of culture by using that sound fx
Restricted: GoogleAnalyticsLogger
Flexible: AnalyticsLogger
Font?
Such a great video! Please do more 😊
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
Bruh, i was on full volume with my family in the living room 😶
*the sound effect 😂
Excellent video! I'd love to see more shorts like this!
not the sound effect ☠️😂
Sound effect nice!! 😂😂😂😂😂
😂that sound
Wth
Ahhhhhhh 😅
😂
🎉
❤
Understood nothing
Philipp, Can you help me? I need advice here.