3 ms·If you refactor to avoid duplication, refactor into an interface.by Aeolun 7y agoIf you refactor to avoid duplication, refactor into an interface.