Glossary: Software Design Patterns in C++
Cohesion
Also written: high cohesion, low cohesion
How well the things inside one piece of code belong together. A function that only works out shipping has high cohesion, and you want high cohesion.
Glossary: Software Design Patterns in C++
Also written: high cohesion, low cohesion
How well the things inside one piece of code belong together. A function that only works out shipping has high cohesion, and you want high cohesion.