clean architecture Flashcards

1
Q

what sorts of code duplication are there and what do they mean?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

on what level can decoupling happen?

A

source code level
deployment level
service level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the open-closed principle say?

A

A component should be open for extension and closed for modification

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the common closure principle say?

A

(SRP for components)
A component should not have multiple reasons to change

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the stable dependencies principle say?

A

Depend in the direction of stability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the stable abstractions principle say?

A

The more stable a component is, the more abstract it should be

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the dependency inversion principle say?

A

The more high level a component, the more it should depend on abstractions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what do the three digits in software versions stand for?

A

Major Version . Minor Version . Patch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the humble pattern do amd where is it used?

A

Seperate code into a testable and not-testable object. Should be used at architectural borders.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly