After watching: The Clean Code Talks -- Inheritance, Polymorphism, & Testing
I checked my code and noticed a few switch statements can be refactored into polymorphis
class Sunday extends DayOfWeek {} class Monday extends DayOfWeek {} class Tuesday extends DayOfWeek {} class Wednesday extends DayOfWeek {} class Thursday extends DayOfWeek {} class Friday extends DayOfWeek {} class Saturday extends DayOfWeek {}
Enums are fine.