Under review

Why is this refactoring tip a good thing?

Matheus Gomes 3 years ago updated by Alex Shvets 3 years ago 1

Image 806

I don't get it, if we create a subclass, doesn't make it longer and more difficult to read and understand? What's the benefit?

Under review

Hi Matheus!

Yeah, I agree that this slide is not very informative. Please follow the course further, once you reach the Extract Subclass refactoring there will be an expanded example that explains this in detail.