Adapter Patter Recomendation
Hello! I hope you're having a good day. First of all, I want to tell you that your code has been a very useful guide for a IT student like me, but now as I'm learning in my software design classes, I thought it would be useful to take a look at structural patterns such as “Adapter,” which could be useful to implement in the “Inheritance Exercise>Shape,” since, as Refactoring Guru explains, “Adapter is a structural design pattern that allows objects with incompatible interfaces to collaborate with each other.” And given the context of the exercise, its application would be very beneficial if you want to implement new figures or functionalities.
Hi Kamila,
Thank you so much for your kind words and valuable suggestion! I really appreciate you taking the time to look at the code and provide such helpful feedback.
You're absolutely right about the Adapter pattern. This code was initially developed when I was a student, and honestly, I didn't think it would gain much attention. I'm now planning to refactor the necessary parts of the code using design patterns, including the Adapter pattern, in the near future.
Thanks again for your contribution!