diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-28 00:01:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-28 00:01:52 +0200 |
commit | 4c2048d5d41359c9a923ab769fb02a93996f2d2c (patch) | |
tree | 09f9cfc67f237bc255742bebe6450789eeff6012 /contrib/style.txt | |
parent | 2a619eadbe510c49e3b6a29d0813168840da998c (diff) |
fix more typos
Diffstat (limited to 'contrib/style.txt')
-rw-r--r-- | contrib/style.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/style.txt b/contrib/style.txt index d6d96cb7d..ea8bfeba4 100644 --- a/contrib/style.txt +++ b/contrib/style.txt @@ -37,7 +37,7 @@ APIs: Dependency Injection (DI): DI is a useful pattern when components need to be replaced by mocks or have multiple co-existing implementations. But DI also makes code overly generic, -bureaucratic and less readble. Only use DI if there is a definite need for it, +bureaucratic and less readable. Only use DI if there is a definite need for it, do not use it by default. Inject individual dependencies via class constructors and avoid service locators. |