diff --git a/README.rst b/README.rst index e4e7b3e2..2cf68488 100644 --- a/README.rst +++ b/README.rst @@ -66,11 +66,11 @@ Coupling and cohesion are about how tough the components are tied. - **High coupling**. If the coupling is high it's like using a superglue or welding. No easy way to disassemble. - **High cohesion**. High cohesion is like using the screws. Very easy to disassemble and - assemble back or assemble a different way. It is an alternative to high coupling. + assemble back or assemble a different way. It is an opposite to high coupling. When the cohesion is high the coupling is low. -High cohesion brings the flexibility. Your code becomes easier to change and test. +Low coupling and high cohesion brings a flexibility. Your code becomes easier to change and test. How to implement dependency injection? -------------------------------------- diff --git a/docs/introduction/what_is_di.rst b/docs/introduction/what_is_di.rst index aa64c07c..12251340 100644 --- a/docs/introduction/what_is_di.rst +++ b/docs/introduction/what_is_di.rst @@ -17,11 +17,11 @@ Coupling and cohesion are about how tough the components are tied. - **High coupling**. If the coupling is high it's like using a superglue or welding. No easy way to disassemble. - **High cohesion**. High cohesion is like using the screws. Very easy to disassemble and - assemble back or assemble a different way. It is an alternative to high coupling. + assemble back or assemble a different way. It is an opposite to high coupling. When the cohesion is high the coupling is low. -High cohesion brings the flexibility. Your code becomes easier to change and test. +Low coupling and high cohesion bring a flexibility. Your code becomes easier to change and test. The example ~~~~~~~~~~~