New course! Every coder should learn Generative AI!
Try a free lesson0
Polymorphism normally help you to produce less coupled code. So it will be easy change it when you will have a need in a change. When it you develop something bigger then code for challenges here it is crucial.