I've led engineering teams for many years and I'm still learning. Here are some of the lessons I've picked up so far.