Skip to content

Commit ee5378c

Browse files
committed
fixed spelling mistakes
1 parent 543a29a commit ee5378c

File tree

8 files changed

+15
-13
lines changed

8 files changed

+15
-13
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ You will learn these Design Patterns
2222
* [Chain of Responsibiltiy](chain_of_responsibility)
2323
* [Observer Pattern](observer)
2424

25+
<!--
2526
Register for the course at Skillshare. https://skl.sh/34SM2Xg **(Get Extra 2 Months Premium Membership Free)**
27+
-->
2628

2729
## Introduction Video
2830

adapter/Adapter Design Pattern.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The adapter design pattern solves these problems:
66
- How can classes that have incompatible interfaces work together?
77
- How can an alternative interface be provided for a class?
88

9-
In this lecture, I have 2 clasess, they don't share the same inteface. The client requires it's objects to use an already standardised interface.
9+
In this lecture, I have 2 classes, they don't share the same interface. The client requires it's objects to use an already standardised interface.
1010

1111
So we need to create an adapter, that wraps the incompatible object, but implements the standardised interface.
1212

adapter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The adapter design pattern solves these problems:
66
- How can classes that have incompatible interfaces work together?
77
- How can an alternative interface be provided for a class?
88

9-
In this lecture, I have 2 clasess, they don't share the same inteface. The client requires it's objects to use an already standardised interface.
9+
In this lecture, I have 2 classes, they don't share the same interface. The client requires it's objects to use an already standardised interface.
1010

1111
So we need to create an adapter, that wraps the incompatible object, but implements the standardised interface.
1212

builder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Builder Pattern tries to solve,
66
- How can a class create different representations of a complex object?
77
- How can a class that includes creating a complex object be simplified?
88

9-
The Builder and Factory patterns are very simiar in the fact they both instantiate new objects at run time. The difference is when the process of creating the object is more complex, so rather than the Factory returning a new instance of `ObjectA`, it could call the builders director construct method `ObjectA.construct()`. Both return an Object.
9+
The Builder and Factory patterns are very similar in the fact they both instantiate new objects at run time. The difference is when the process of creating the object is more complex, so rather than the Factory returning a new instance of `ObjectA`, it could call the builders director construct method `ObjectA.construct()`. Both return an Object.
1010

1111
Parts of the Builder Pattern
1212
1. **Product** - The Product being built

command/Command Design Pattern.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ The components if the Command Design Pattern are,
66
1. **Receiver** - The Object that will receive and execute the command
77
2. **Invoker** - Which will send the command to the receiver
88
3. **Command Object** - Itself, which implements an execute, or action method, and contains all required information to execute it
9-
4. **Client** - The application or component which is aware of the Reciever, Invoker and Commands
9+
4. **Client** - The application or component which is aware of the Receiver, Invoker and Commands
1010

11-
Eg, a button, will call the Invoker, which will call a pre registered Commands execute method, which the Reciever will perform.
11+
Eg, a button, will call the Invoker, which will call a pre registered Commands execute method, which the Receiver will perform.
1212

1313
A Concrete Class will delegate a request to a command object, instead of implementing the request directly.
14-
Using a command design pattern allows you to seperate concerns a little easier and to solve problems of the concenrs independantly of each of the layers.
14+
Using a command design pattern allows you to seperate concerns a little easier and to solve problems of the concerns independently of each of the layers.
1515
eg, logging the execution of a command and it's outcome.
1616

1717
Uses:

command/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ The components if the Command Design Pattern are,
66
1. **Receiver** - The Object that will receive and execute the command
77
2. **Invoker** - Which will send the command to the receiver
88
3. **Command Object** - Itself, which implements an execute, or action method, and contains all required information to execute it
9-
4. **Client** - The application or component which is aware of the Reciever, Invoker and Commands
9+
4. **Client** - The application or component which is aware of the Receiver, Invoker and Commands
1010

11-
Eg, a button, will call the Invoker, which will call a pre registered Commands execute method, which the Reciever will perform.
11+
Eg, a button, will call the Invoker, which will call a pre registered Commands execute method, which the Receiver will perform.
1212

1313
A Concrete Class will delegate a request to a command object, instead of implementing the request directly.
14-
Using a command design pattern allows you to seperate concerns a little easier and to solve problems of the concenrs independantly of each of the layers.
14+
Using a command design pattern allows you to seperate concerns a little easier and to solve problems of the concerns independently of each of the layers.
1515
eg, logging the execution of a command and it's outcome.
1616

1717
Uses:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## Decorator Design Pattern
22

3-
The decorator pattern is a structural pattern, that allows you to attach additional responsibilites to an object at run time.
3+
The decorator pattern is a structural pattern, that allows you to attach additional responsibilities to an object at run time.
44

55
The decorator pattern is used in both the Object Oriented and Functional paradigms.
66

7-
The decorator pattern is different than the Python language feature of Python Decorators in it's syntax, but the the application of it is the same, in the way that it is essentially a wrapper.
7+
The decorator pattern is different than the Python language feature of Python Decorators in it's syntax, but the application of it is the same, in the way that it is essentially a wrapper.
88

99
The Decorator pattern adds extensibility, without modifying the original function.

decorator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## Decorator Design Pattern
22

3-
The decorator pattern is a structural pattern, that allows you to attach additional responsibilites to an object at run time.
3+
The decorator pattern is a structural pattern, that allows you to attach additional responsibilities to an object at run time.
44

55
The decorator pattern is used in both the Object Oriented and Functional paradigms.
66

7-
The decorator pattern is different than the Python language feature of Python Decorators in it's syntax, but the the application of it is the same, in the way that it is essentially a wrapper.
7+
The decorator pattern is different than the Python language feature of Python Decorators in it's syntax, but the application of it is the same, in the way that it is essentially a wrapper.
88

99
The Decorator pattern adds extensibility, without modifying the original function.

0 commit comments

Comments
 (0)