Proxy pattern grammar fixes

This commit is contained in:
Ilkka Seppälä 2021-06-22 19:59:43 +03:00
parent 11efae38f2
commit ebcc857664
No known key found for this signature in database
GPG Key ID: 31B7C8F5CC412ECB

View File

@ -20,7 +20,7 @@ Provide a surrogate or placeholder for another object to control access to it.
## Explanation
Real world example
Real-world example
> Imagine a tower where the local wizards go to study their spells. The ivory tower can only be
> accessed through a proxy which ensures that only the first three wizards can enter. Here the proxy
@ -142,7 +142,7 @@ applicable.
* Protection proxy controls access to the original object. Protection proxies are useful when
objects should have different access rights.
## Typical Use Case
Typically, the proxy pattern is used to
* Control access to another object
* Lazy initialization