|
@@ -185,9 +185,7 @@
|
185
|
185
|
|
186
|
186
|
-
|
187
|
187
|
# Notice the Design Flaw - Non-Intuitive Orientation
|
188
|
|
-* You may have notice that `findById` makes it difficult to intuitively identify _which_ `Person` object is being returned.<br>
|
189
|
|
-Additionally, it's challenging to ensure **every** `Person` instance has a unique ID amongst its respective `People` subclass.<br>
|
190
|
|
-To remedy this issue, we redesign and refactor.
|
|
188
|
+* You may have noticed that `findById` makes it difficult to intuitively identify _which_ `Person` object is being returned. To remedy this issue, we can make use of an `enum` which manipulates a composite `instructor` object.
|
191
|
189
|
|
192
|
190
|
-
|
193
|
191
|
### Part 11.1 - Create `Educator` enum
|