As a developer it pays to be kind and respectful and to always see the potential in the developers you work with.
Here’s a great story about being kind. The site went down over a weekend and the author was a junior developer and his team lead turned it into a moment of learning:
He was smiling. There wasn’t even a hint of frustration or annoyance. “It was okay,” I said, waiting for the bad news. “Sorry about Friday. I completely blew it.”
“It’s okay,” he replied. “We’ve all done it.” He paused for a moment. “But what did you learn?”
I talked about the need for proper QA. About thoroughly testing my changes. About taking the time to make sure the job gets done right. After a few minutes, he held up his hand.