Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 5, 2023
1 parent 1a5f933 commit 6905c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ IoC
See {term}`Inversion of Control`.

Inversion of Control
Inversion of Control (IoC) is when a program invokes something without directly depending on it.
Inversion of Control (IoC) is when a program invokes something without directly depending on it.
Instead, some form of indirection is used.

That's why it's sometimes called the *Hollywood Principle*: "Don't call us, we'll call you."
Expand All @@ -225,7 +225,7 @@ Inversion of Control
A framework is configured so that it *indirectly* calls code on which it has no direct dependency.

Inversion of control can be achieved using a few different patterns:

- {term}`Dependency injection`.

- {term}`Service locator`.
Expand Down

0 comments on commit 6905c73

Please sign in to comment.