2 ms·
From my point of view the refactoring should be completely managed by the IDE. About the other stuff that can be DRY-ed I think could be managed by the IDE too
by ttty 13y ago
From my point of view the refactoring should be completely managed by the IDE.
About the other stuff that can be DRY-ed I think could be managed by the IDE too. But don't forget the right tool for the right job. If you need class hierarchy don't use the 'instance' option in the IDE, use proper class hierarchy.
The 'instance' for code should be for stuff that cannot be or is not worth to encapsulate within a single method.
Thanks for the comment, pedalpete.