From ebcc8576642c0fe25058a80eaa80408425a47ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Tue, 22 Jun 2021 19:59:43 +0300 Subject: [PATCH] Proxy pattern grammar fixes --- proxy/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/README.md b/proxy/README.md index a0c4b5285..7b07e2e7a 100644 --- a/proxy/README.md +++ b/proxy/README.md @@ -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