cln.co/
HC
HCHigh Cohesion

"The degree to which the elements within a module belong together"

Key Takeaways
  • Each part of a program should do one main thing really well.
  • Modules with one job are easier to fix and understand.
  • Make clear and focused parts that don't get tangled with others.

Description

When a module has high cohesion, it means that the tasks performed by that module are very related to each other, and the module has a clear and narrow focus.

The concept of cohesion is used to evaluate the quality of the decomposition of modules in system design.

You might also like:
ADP
APO
BSR
CCP
CoI
CQS
CRP
DIP
DRY
EUHM
EWV
FF
FTSE
GRASP
HC
HLYW
IH
IoC
IOSP
ISP
KISS
LC
LoD
LOLA
LSP
OCP
POLP
POLS
PoMO
REP
RoT
RTFM
SAP
SDB
SDP
SLA
SoC
SOLDIER
SOLID
SPOT
SRP
TdA
WET
YAGNI
ZOI