mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-04-14 22:24:25 +03:00
Edit a statement about coupling and cohesion
Co-authored-by: Roman Mogylatov <rmogilatov@gmail.com>
This commit is contained in:
parent
b007d3483b
commit
f8ec0611b6
|
@ -49,7 +49,8 @@ Coupling and cohesion are about how tough the components are tied.
|
|||
- **High cohesion**. High cohesion is like using the screws. Very easy to disassemble and
|
||||
assemble back or assemble a different way. It is an opposite to high coupling.
|
||||
|
||||
High cohesion often correlates with loose coupling, and vice versa.
|
||||
Cohesion often correlates with coupling. Higher cohesion usually leads to lower coupling, and vice
|
||||
versa.
|
||||
|
||||
Low coupling brings a flexibility. Your code becomes easier to change and test.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user