Remove Middle Man: When a class just delegates calls (adding no value): - Delete the delegating methods - Make clients call directly Before: manager.getEmployee().getName() After: employee.getName() Cut the pointless proxy! #CleanCode #Refactoring


United States Trendy
Loading...

Something went wrong.


Something went wrong.