From 20d9d1ee3095a72cb4c8580fb81eb9689decf291 Mon Sep 17 00:00:00 2001 From: Kislov Dmitry Date: Tue, 3 Sep 2019 16:10:53 +1000 Subject: [PATCH] HttpService -> XMLHttpService --- 5.dip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5.dip.py b/5.dip.py index ea82234..fb3182e 100644 --- a/5.dip.py +++ b/5.dip.py @@ -26,7 +26,7 @@ def post(self, url, options: dict): self.xml_http_service.request(url, 'POST') """ -Here, Http is the high-level component whereas HttpService is the low-level +Here, Http is the high-level component whereas XMLHttpService is the low-level component. This design violates DIP A: High-level modules should not depend on low-level level modules. It should depend upon its abstraction.