In fairness, schmoozing your manager arguably makes your manager look worse, as it makes them look like their team considers them schmooz-able while producing good code automatically helps your boss look better, as it shows they, at least in part, are managing their team effectively.