Skip to content

Commit 4935a48

Browse files
committed
feat: update articles
1 parent ab0f799 commit 4935a48

File tree

13 files changed

+16
-40
lines changed

13 files changed

+16
-40
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Chain of Responsibility ##
1+
## Chain of Responsibility
22

33
Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.
4-
5-
*GOF*

ts/oop/src/flyweight/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Flyweight ##
1+
## Flyweight
22

33
Facilitates the reuse of many fine grained objects, making the utilization of large numbers of objects more efficient.
4-
5-
*GOF*

ts/oop/src/interpreter/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Interpreter Pattern ##
1+
## Interpreter Pattern
22

3-
Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.
4-
5-
*GOF*
3+
Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.

ts/oop/src/iterator/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Iterator Pattern ##
1+
## Iterator Pattern
22

33
Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.
4-
5-
*GOF*

ts/oop/src/mediator/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Mediator Pattern ##
1+
## Mediator Pattern
22

33
Promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you consty their interaction independently.
4-
5-
*GOF*

ts/oop/src/memento/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Memento Pattern ##
1+
## Memento Pattern
22

33
Capture an object’s internal state and externalize it so that it can be restored to that state later.
4-
5-
*GOF*

ts/oop/src/observer/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Observer Pattern ##
1+
## Observer Pattern
22

3-
Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
4-
5-
*GOF*
3+
Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.

ts/oop/src/proxy/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Proxy Pattern ##
1+
## Proxy Pattern
22

33
Provide a surrogate or placeholder for another object to control access to it.
4-
5-
*GOF*

ts/oop/src/singleton/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## Singleton Pattern ##
1+
## Singleton Pattern
22

3-
A class of which only a single instance can exist.
3+
A class of which only a single instance can exist.

ts/oop/src/state/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## State Pattern ##
1+
## State Pattern
22

33
A cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements.
4-
5-
*GOF*

0 commit comments

Comments
 (0)