Skip to content

Commit

Permalink
Remove redundant developer documentation on more OOP solution
Browse files Browse the repository at this point in the history
  • Loading branch information
biinnnggggg committed Apr 15, 2024
1 parent 5bb9248 commit 8833cf9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ and all associated `Appointment` objects (which are contained in a `DisjointAppo
* stores a `UserPref` object that represents the user’s preferences. This is exposed to the outside as a `ReadOnlyUserPref` objects.
* does not depend on any of the other three components (as the `Model` represents data entities of the domain, they should make sense on their own without depending on other components)

<div markdown="span" class="alert alert-info">:information_source: **Note:** An alternative (arguably, a more OOP) model is given below. It has a `Tag` list in the `AddressBook`, which `Person` references. This allows `AddressBook` to only require one `Tag` object per unique tag, instead of each `Person` needing their own `Tag` objects.<br>

<img src="images/BetterModelClassDiagram.png" width="450" />

</div>


### Storage component

Expand Down

0 comments on commit 8833cf9

Please sign in to comment.