Glossary: Software Design Patterns in Rust
Cohesion
Also written: high cohesion, low cohesion
How closely the things inside one piece of code belong together. A function that only works out shipping has high cohesion, which is good.
Glossary: Software Design Patterns in Rust
Also written: high cohesion, low cohesion
How closely the things inside one piece of code belong together. A function that only works out shipping has high cohesion, which is good.