Glossary: Software Design Patterns in Go
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 one that prices, ships, saves and emails has low cohesion.