Open erikaliang520 opened 1 year ago
Hi Erika, yes working off interfaces is definetly the proper format to follow CA since relying on interfaces and not direct inheritance and extending classes allows more flexibility in creating new features, which in turn adheres to SOLID. That's also a great idea to start thinking of different ways we can manage the other word-relevent entities in our program! Looking forward to what you have to show us.
Currently, I am worried that my class WordHistoryManager may not meet the specifications of clean architecture. I saw in the examples that we worked on for homework that things like the WordHIstoryManagers often work off interfaces. Would it be better for me to adjust my class so it implements a history manager? That way, if there's a need to add different history managers (such as history of related words, history of languages, etc.) I can work off of an interface making it easier to extend the program without modification. This way, it also adheres to the principles of SOLID, more specifically the open-closed principle. Thank you!