From 991550a8b05d9e211336103457f47aa118870eae Mon Sep 17 00:00:00 2001 From: "Damith C. Rajapakse" Date: Tue, 27 Sep 2016 22:54:45 +0800 Subject: [PATCH] Clarify LO-DIP --- doc/LearningOutcomes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/LearningOutcomes.md b/doc/LearningOutcomes.md index 258a26e8c..441b0dd75 100644 --- a/doc/LearningOutcomes.md +++ b/doc/LearningOutcomes.md @@ -98,9 +98,9 @@ Covered by `[LO-Polymorphism]` #### Exercise: Invert dependency from Logic to Storage * Note how `Logic` class depends on the `StorageFile` class. This is a violation of DIP. -* Modify the implementation as follows so that both `Logic` and `StorageFile` now depend on the abstraction - `Storage`. (Note: The term *abstraction* here is referring to the concept of abstracting, not to the fact - that `Storage` class is `abastract`)
+* Modify the implementation as follows so that both `Logic` and `StorageFile` now depend on the + `abstract` class `Storage`.
+ * Where else in the code do you notice the application of DIP? ------------------------------------------------------------------------------------------------------