0
Under review

Why is this refactoring tip a good thing?

Matheus Gomes hace 3 años actualizado por Alexander Shvets hace 3 años 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?

+1
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.