# Effective Kotlin Item 35: Consider using dependency injection

DevFeed: [Effective Kotlin Item 35: Consider using dependency injection](<https://devfeed.tech/articles/effective-kotlin-item-35-consider-using-dependency-injection-39276.md>)

Original publisher: [Read original article](<https://kt.academy/article/ek-dependency-injection>)

Published: 2023-10-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

## AI overview

This article explains what dependency injection is, why it matters, and how to use it in Kotlin.

## Source excerpt

What is dependency injection, why it is so important, and how to use it in Kotlin.