So true. I've had great managers that had great rapport with the team and everyone was tight knit enough that the manager could stand in the hall and say "hey, come over here and look at the ridiculous code Bill wrote" and it would all be in good fun, even for the person who was being mocked (being able to laugh at your own mistakes is important, IMO). And on the other hand, I've had terrible managers who aren't able to do it in a good-natured manner and it ends up being mean-spirited, condescending, and morale-killing. There's a surprisingly fine line between "lol, Bill, what were you thinking?" and "Bill wrote bad code and I'm going to call him on it, making everyone on the team uncomfortable, and thus cultivating an environment where everyone lives in fear of making a mistake."