Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-sapletta-com authored Nov 18, 2023
1 parent 49fd7db commit ff4ff80
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,45 @@ From #clean ideas to code #smells ... Let's talk about The Pragmatic Development

### Low Coupling on Design

Problem:
#### Problem:
How to reduce the number of dependencies and the scope of changes, and increase the possibility
code reuse?

Solution:
#### Solution:
Assign responsibility to limit the degree of coupling (number
object associations). Apply this principle at the design stage.


### High Cohesion

Problem:
#### Problem:
How to make objects have a clear purpose, are understandable and easy to maintain?

Solution:
#### Solution:
Assign responsibility to ensure consistency remains high.
Cohesion = "coupling" within one and the same class between its members.


## Single Responsibility with SOLID

#### SRP Single Responsibility Principle
A class has only one responsibility

#### OCP Open-Closed Principle
open to extensions, closed to modifications

#### LLSP
Liskov Substitution Principle
Each class object should be replaceable in the context of its use by an object of a child class

#### ISP Interface Segregation Principle
The client should not be forced to depend on methods he does not use

#### D DIP Dependency Inversion Principle
Higher level modules depend on abstraction, not implementation




## SDLC

Expand Down

0 comments on commit ff4ff80

Please sign in to comment.