I feel fortunate to work for a company that has a zero-tolerance policy for shaming others and their code knowledge. In fact, it's much more common to hear something like "I'm not familiar with that - could you teach me?" instead. Weekly, we show off new tools or techniques we've discovered so the chances of being left in the dark are slimmer. It leads to a lot more open discussions and a better overall base of knowledge across the entire company.