clean architecture Flashcards
what sorts of code duplication are there and what do they mean?
ture duplication: change in one neccessitates change in the other -> bad
accidential duplication: happen to be the same but change at different rates for different reasons -> NOT bad!
DO NOT eliminate decoupling (vertically or horizontally) by removing duplication
on what level can decoupling happen?
source code level
deployment level
service level
What does the open-closed principle say?
A component should be open for extension and closed for modification
What does the common closure principle say?
(SRP for components)
A component should not have multiple reasons to change
What does the stable dependencies principle say?
Depend in the direction of stability
What does the stable abstractions principle say?
The more stable a component is, the more abstract it should be
What does the dependency inversion principle say?
The more high level a component, the more it should depend on abstractions
what do the three digits in software versions stand for?
Major Version . Minor Version . Patch
What does the humble pattern do amd where is it used?
Seperate code into a testable and not-testable object. Should be used at architectural borders.