Is it just me or does the ktor blog post about DI ...
# ktor
j
Is it just me or does the ktor blog post about DI from today actually feature zero DI? They seem to be using Koin as a global service locator with zero inversion of control.
🗡️ 1
😂 11
4
l
what’s your multiplatform DI library of choice these days?
r
Whatever DI library you use, someone smart will tell you it's not Dependency Injection 😛
💯 1
c
what’s your multiplatform DI library of choice these days?
Do you need one? DI is just a technique of passing dependencies instead of hardcoding them in the service. I don't need a library to add a
Clock
or
Job
as part of the constructor parameters.
❤️ 1
💯 1
a
DI only makes sense in some applications at a certain size. I love DI when used correctly
yes black 2
same 1
t
I feel like the article didn't actually explain anything about what the api will look like or how it will be implemented but wanted to dispel the concern raised here. https://kotlinlang.slack.com/archives/C0A974TJ9/p1710456409723029 I appreciate them posting a statement about it, but I agree the examples provided were confusing.
🙏 1