“Classes that change together, belong together.” (Robert Martin)
This principle advises which classes should be packaged together based on patterns of change.
The classes in a package should be closed together against the same kind of changes.
A change that affects a package affects all the classes in that package.
No comments:
Post a Comment